Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-misc/apertium/files: 3.2.0-flags.patch 3.2.0-datadir.patch
Date: Fri, 29 Jul 2011 07:02:51
Message-Id: 20110729061310.B888F2004B@flycatcher.gentoo.org
1 bicatali 11/07/29 06:13:10
2
3 Added: 3.2.0-flags.patch 3.2.0-datadir.patch
4 Log:
5 Version bump
6
7 (Portage version: 2.1.10.7/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sci-misc/apertium/files/3.2.0-flags.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/apertium/files/3.2.0-flags.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/apertium/files/3.2.0-flags.patch?rev=1.1&content-type=text/plain
14
15 Index: 3.2.0-flags.patch
16 ===================================================================
17 diff -Nur apertium-3.2.0.orig/configure.ac apertium-3.2.0/configure.ac
18 --- apertium-3.2.0.orig/configure.ac 2011-07-29 06:43:38.000000000 +0100
19 +++ apertium-3.2.0/configure.ac 2011-07-29 06:46:26.000000000 +0100
20 @@ -54,68 +54,6 @@
21
22 # Checks for programs.
23
24 -AC_MSG_CHECKING([Compilation architecture: PPC, i686, x86_64, Other])
25 -if test x$(which arch) = x
26 -then ARCH=$($(which uname) -m)
27 -else ARCH=$($(which arch))
28 -fi
29 -
30 -case "${target_os}" in
31 - mingw*)
32 - MinGW=yes
33 - ;;
34 - cygwin*)
35 - Cygwin=yes
36 - ;;
37 -esac
38 -
39 -if test x$ARCH = xppc
40 -then
41 - AC_MSG_RESULT([PowerPC])
42 - CFLAGS="$CFLAGS -Wall -ansi -fomit-frame-pointer"
43 - CXXFLAGS="$CXXFLAGS -Wall -ansi -fomit-frame-pointer"
44 -else
45 - if test x$MinGW = xyes
46 - then
47 - AC_MSG_RESULT([MinGW])
48 - CFLAGS="$CFLAGS -Wall -march=i686 -O3 -DMINGW -fomit-frame-pointer \
49 - -funroll-loops -I/include -L/lib"
50 - CXXFLAGS="$CXXFLAGS -Wall -march=i686 -O3 \
51 - -fomit-frame-pointer -funroll-loops -I/include -L/lib"
52 - CPPFLAGS="$CPPFLAGS -I/include"
53 - else
54 - if test x$Cygwin = xyes
55 - then
56 - AC_MSG_RESULT([Cygwin])
57 - CFLAGS="$CFLAGS -Wall -march=i686 -O3 -fomit-frame-pointer \
58 - -funroll-loops"
59 - CXXFLAGS="$CXXFLAGS -Wall -march=i686 -O3 \
60 - -fomit-frame-pointer -funroll-loops"
61 - CPPFLAGS="$CPPFLAGS"
62 - else
63 - if test x$ARCH = xi686
64 - then
65 - AC_MSG_RESULT([i686])
66 - CFLAGS="$CFLAGS -Wall -ansi -march=i686 -O3 -fomit-frame-pointer -funroll-loops"
67 - CXXFLAGS="$CXXFLAGS -Wall -ansi -march=i686 -O3 \
68 - -fomit-frame-pointer -funroll-loops"
69 - else
70 - if test x$ARCH = xx86_64
71 - then
72 - AC_MSG_RESULT([x86_64])
73 - CFLAGS="-Wall -ansi -O3 -mtune=nocona -fomit-frame-pointer -funroll-loops $CFLAGS"
74 - CXXFLAGS="-Wall -ansi -O3 -mtune=nocona \
75 - -fomit-frame-pointer -funroll-loops $CXXFLAGS"
76 - else
77 - AC_MSG_RESULT([Other])
78 - CFLAGS="-Wall -ansi -O3 $CFLAGS"
79 - CXXFLAGS="-Wall -ansi -O3 $CXXFLAGS"
80 - fi
81 - fi
82 - fi
83 - fi
84 -fi
85 -
86 AC_PROG_CXX
87 AC_PROG_LIBTOOL
88 AM_SANITY_CHECK
89
90
91
92 1.1 sci-misc/apertium/files/3.2.0-datadir.patch
93
94 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/apertium/files/3.2.0-datadir.patch?rev=1.1&view=markup
95 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/apertium/files/3.2.0-datadir.patch?rev=1.1&content-type=text/plain
96
97 Index: 3.2.0-datadir.patch
98 ===================================================================
99 diff -Nur apertium-3.2.0.orig/apertium/Makefile.am apertium-3.2.0/apertium/Makefile.am
100 --- apertium-3.2.0.orig/apertium/Makefile.am 2011-07-29 06:55:49.000000000 +0100
101 +++ apertium-3.2.0/apertium/Makefile.am 2011-07-29 07:03:58.000000000 +0100
102 @@ -66,10 +66,10 @@
103
104 instdir = apertium
105
106 -apertiumdir = $(prefix)/share/apertium
107 +apertiumdir = $(datadir)/
108 apertiuminclude = $(prefix)/include/apertium-$(GENERIC_API_VERSION)
109 apertiumlib = $(prefix)/lib
110 -apertiumsysconf = $(prefix)/etc/apertium
111 +apertiumsysconf = $(sysconfdir)/apertium
112
113 apertium_DATA = deformat.xsl reformat.xsl new2old.xsl lexchoice.xsl \
114 lexchoicebil.xsl tagger.dtd interchunk.dtd format.dtd \
115 diff -Nur apertium-3.2.0.orig/Makefile.am apertium-3.2.0/Makefile.am
116 --- apertium-3.2.0.orig/Makefile.am 2011-07-29 06:55:49.000000000 +0100
117 +++ apertium-3.2.0/Makefile.am 2011-07-29 07:08:39.000000000 +0100
118 @@ -1,13 +1,10 @@
119 SUBDIRS = $(GENERIC_LIBRARY_NAME)
120 DIST_SUBDIRS = $(GENERIC_LIBRARY_NAME)
121
122 -modesdir=$(prefix)/share/apertium/modes
123 +modesdir = $(datadir)/apertium/modes
124 +modes_DATA = README-MODES
125
126 pkgconfigdir = $(libdir)/pkgconfig
127 pkgconfig_DATA = apertium-$(GENERIC_RELEASE).pc
128
129 EXTRA_DIST=autogen.sh README-MODES
130 -
131 -install-data-local:
132 - mkdir -p $(modesdir)
133 - $(INSTALL_DATA) README-MODES $(modesdir)/README