]> git.pld-linux.org Git - packages/apertium.git/commitdiff
- new package
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 28 Nov 2010 08:43:08 +0000 (08:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- opt patch to avoid using unwanted optimizer options
- DESTDIR patch (self-explaining)

Changed files:
    apertium-DESTDIR.patch -> 1.1
    apertium-opt.patch -> 1.1

apertium-DESTDIR.patch [new file with mode: 0644]
apertium-opt.patch [new file with mode: 0644]

diff --git a/apertium-DESTDIR.patch b/apertium-DESTDIR.patch
new file mode 100644 (file)
index 0000000..a5423d6
--- /dev/null
@@ -0,0 +1,9 @@
+--- apertium-3.2.0/Makefile.am.orig    2010-02-28 18:24:47.000000000 +0100
++++ apertium-3.2.0/Makefile.am 2010-11-28 08:46:21.531102452 +0100
+@@ -9,5 +9,4 @@
+ EXTRA_DIST=autogen.sh README-MODES
+ install-data-local:
+-      mkdir -p $(modesdir)
+-      $(INSTALL_DATA) README-MODES  $(modesdir)/README
++      mkdir -p $(DESTDIR)$(modesdir)
diff --git a/apertium-opt.patch b/apertium-opt.patch
new file mode 100644 (file)
index 0000000..90ad024
--- /dev/null
@@ -0,0 +1,71 @@
+--- apertium-3.2.0/configure.ac.orig   2010-03-14 16:14:34.000000000 +0100
++++ apertium-3.2.0/configure.ac        2010-11-28 08:07:17.219099937 +0100
+@@ -54,68 +54,6 @@
+ # Checks for programs.
+-AC_MSG_CHECKING([Compilation architecture: PPC, i686, x86_64, Other])
+-if test x$(which arch) = x
+-then ARCH=$($(which uname) -m)
+-else ARCH=$($(which arch))
+-fi
+-
+-case "${target_os}" in
+-  mingw*)
+-    MinGW=yes
+-  ;;
+-  cygwin*)
+-    Cygwin=yes
+-  ;;
+-esac
+-
+-if test x$ARCH = xppc
+-then
+-  AC_MSG_RESULT([PowerPC])
+-  CFLAGS="$CFLAGS -Wall -ansi -fomit-frame-pointer"
+-  CXXFLAGS="$CXXFLAGS -Wall -ansi -fomit-frame-pointer"
+-else
+-  if test x$MinGW = xyes
+-  then 
+-    AC_MSG_RESULT([MinGW])
+-    CFLAGS="$CFLAGS -Wall -march=i686 -O3 -DMINGW -fomit-frame-pointer \
+-              -funroll-loops -I/include -L/lib"
+-    CXXFLAGS="$CXXFLAGS -Wall -march=i686 -O3 \
+-            -fomit-frame-pointer -funroll-loops -I/include -L/lib"
+-    CPPFLAGS="$CPPFLAGS -I/include"
+-  else
+-    if test x$Cygwin = xyes
+-    then 
+-      AC_MSG_RESULT([Cygwin])
+-      CFLAGS="$CFLAGS -Wall -march=i686 -O3 -fomit-frame-pointer \
+-           -funroll-loops"
+-      CXXFLAGS="$CXXFLAGS -Wall -march=i686 -O3 \
+-              -fomit-frame-pointer -funroll-loops"
+-      CPPFLAGS="$CPPFLAGS"
+-    else
+-      if test x$ARCH = xi686
+-      then
+-        AC_MSG_RESULT([i686])
+-        CFLAGS="$CFLAGS -Wall -ansi -march=i686 -O3 -fomit-frame-pointer -funroll-loops"
+-        CXXFLAGS="$CXXFLAGS -Wall -ansi -march=i686 -O3 \
+-                -fomit-frame-pointer -funroll-loops"
+-      else
+-        if test x$ARCH = xx86_64
+-        then
+-          AC_MSG_RESULT([x86_64])
+-          CFLAGS="-Wall -ansi -O3 -mtune=nocona -fomit-frame-pointer -funroll-loops $CFLAGS"
+-          CXXFLAGS="-Wall -ansi -O3 -mtune=nocona \
+-                  -fomit-frame-pointer -funroll-loops $CXXFLAGS"
+-        else
+-          AC_MSG_RESULT([Other])
+-          CFLAGS="-Wall -ansi -O3 $CFLAGS"
+-          CXXFLAGS="-Wall -ansi -O3 $CXXFLAGS"
+-        fi
+-      fi
+-    fi    
+-  fi
+-fi
+-
+ AC_PROG_CXX
+ AC_PROG_LIBTOOL
+ AM_SANITY_CHECK
This page took 0.071678 seconds and 4 git commands to generate.