couriersrs with makefile-fixes
Hanno Böck

Hanno Böck commited on 2009-09-29 17:08:40
Zeige 3 geänderte Dateien mit 74 Einfügungen und 2 Löschungen.

... ...
@@ -1,2 +1,3 @@
1
+AUX couriersrs-0.1.1-libtool-automake-fixes.diff 2195 RMD160 6a2d8aae9c8ceade77f2a1f60ae09ee6fdb6f99a SHA1 17442ba77d7959d00be4651a37b3417558d80e23 SHA256 1f7e538da985dd4756674587a74865cbb9a96a59934ffcbd06e873a1757bb250
1 2
 DIST couriersrs-0.1.1.tar.gz 470841 RMD160 1c315958024aba1ce53a867772a4d9100f45c9a5 SHA1 0e93619780c591d38368d8fdd25823430c20df92 SHA256 9e5967dabc81cfc3e0b35928091739f154c2ce27381ebe5f49bf5e0207b5ab48
2
-EBUILD couriersrs-0.1.1.ebuild 637 RMD160 42a57f0b29dfbe96afcb2e4e7ebb0ab50dffe776 SHA1 5d6cfce82ec9edf32bd58bf5fec240e25f0dbebc SHA256 faf3fac124f83a8cfec7b026585603c89f34a81dc5d407c52245c27b32d3ca85
3
+EBUILD couriersrs-0.1.1.ebuild 791 RMD160 e21d0bca651247b175612efcd5cc3f840136a9c8 SHA1 efa9c80e4c68e9414ac4db55b327f6084f266a3a SHA256 0ea0e4f63a7d449c952f403341bab5465d0562abbd4207d290d30ebf546c98dd
... ...
@@ -2,6 +2,8 @@
2 2
 # Distributed under the terms of the GNU General Public License v2
3 3
 # $Header: $
4 4
 
5
+inherit autotools eutils
6
+
5 7
 DESCRIPTION="SRS (Sender Rewriting Scheme) wrapper for the courier MTA."
6 8
 HOMEPAGE="http://couriersrs.com/"
7 9
 SRC_URI="http://couriersrs.com/download/${P}.tar.gz"
... ...
@@ -13,6 +15,14 @@ DEPEND="dev-libs/popt
13 15
 	mail-filter/libsrs2"
14 16
 RDEPEND="${DEPEND}"
15 17
 
18
+src_unpack() {
19
+	unpack ${A}
20
+	cd "${S}"
21
+	rm `grep -l gettext m4/*.m4`
22
+	epatch "${FILESDIR}/${P}-libtool-automake-fixes.diff"
23
+	AT_M4DIR="m4" eautoreconf || die
24
+}
25
+
16 26
 src_compile() {
17 27
 	econf || die "econf failed"
18 28
 	emake || die "emake failed"
... ...
@@ -21,5 +31,4 @@ src_compile() {
21 31
 src_install() {
22 32
 	emake DESTDIR="${D}" install || die "emake install failed"
23 33
 	dodoc AUTHORS NEWS ChangeLog || die "dodoc failed"
24
-	rm -rf "${D}/usr/share/locale/"
25 34
 }
... ...
@@ -0,0 +1,62 @@
1
+--- couriersrs-0.1.1/configure.ac	2007-03-26 23:17:30.000000000 +0200
2
++++ couriersrs-0.1.1-1/configure.ac	2009-09-19 22:15:37.000000000 +0200
3
+@@ -24,9 +24,6 @@
4
+ 
5
+ AC_SUBST([localedir], ['${datadir}/locale'])
6
+ 
7
+-dnl use libtool to compile checks (particularly lib checks), mostly so we don't have to worry about how/if the os supports -R
8
+-ac_link="${SHELL} ${srcdir}/libtool --mode=link $ac_link"
9
+-
10
+ dnl headers we need
11
+ AC_HEADER_STDC
12
+ 
13
+diff -Naur couriersrs-0.1.1/intl/Makefile.in couriersrs-0.1.1-x/intl/Makefile.in
14
+--- couriersrs-0.1.1/intl/Makefile.in	2007-03-15 20:59:02.000000000 +0100
15
++++ couriersrs-0.1.1-x/intl/Makefile.in	2009-09-19 23:36:54.000000000 +0200
16
+@@ -39,8 +39,7 @@
17
+ 
18
+ INSTALL = @INSTALL@
19
+ INSTALL_DATA = @INSTALL_DATA@
20
+-MKINSTALLDIRS = @MKINSTALLDIRS@
21
+-mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
22
++mkinstalldirs = @mkdir_p@
23
+ 
24
+ l = @INTL_LIBTOOL_SUFFIX_PREFIX@
25
+ 
26
+diff -Naur couriersrs-0.1.1/m4/Makefile.in couriersrs-0.1.1-x/m4/Makefile.in
27
+--- couriersrs-0.1.1/m4/Makefile.in	2007-03-26 23:17:43.000000000 +0200
28
++++ couriersrs-0.1.1-x/m4/Makefile.in	2009-09-19 23:28:26.000000000 +0200
29
+@@ -127,7 +127,7 @@
30
+ LTLIBINTL = @LTLIBINTL@
31
+ LTLIBOBJS = @LTLIBOBJS@
32
+ MAKEINFO = @MAKEINFO@
33
+-MKINSTALLDIRS = @MKINSTALLDIRS@
34
++MKINSTALLDIRS = @mkdir_p@
35
+ MSGFMT = @MSGFMT@
36
+ MSGMERGE = @MSGMERGE@
37
+ OBJEXT = @OBJEXT@
38
+diff -Naur couriersrs-0.1.1/Makefile.in couriersrs-0.1.1-x/Makefile.in
39
+--- couriersrs-0.1.1/Makefile.in	2007-03-26 23:17:44.000000000 +0200
40
++++ couriersrs-0.1.1-x/Makefile.in	2009-09-19 23:28:26.000000000 +0200
41
+@@ -174,7 +174,7 @@
42
+ LTLIBINTL = @LTLIBINTL@
43
+ LTLIBOBJS = @LTLIBOBJS@
44
+ MAKEINFO = @MAKEINFO@
45
+-MKINSTALLDIRS = @MKINSTALLDIRS@
46
++MKINSTALLDIRS = @mkdir_p@
47
+ MSGFMT = @MSGFMT@
48
+ MSGMERGE = @MSGMERGE@
49
+ OBJEXT = @OBJEXT@
50
+diff -Naur couriersrs-0.1.1/po/Makefile.in.in couriersrs-0.1.1-x/po/Makefile.in.in
51
+--- couriersrs-0.1.1/po/Makefile.in.in	2007-03-15 20:59:04.000000000 +0100
52
++++ couriersrs-0.1.1-x/po/Makefile.in.in	2009-09-19 23:36:00.000000000 +0200
53
+@@ -28,8 +28,7 @@
54
+ 
55
+ INSTALL = @INSTALL@
56
+ INSTALL_DATA = @INSTALL_DATA@
57
+-MKINSTALLDIRS = @MKINSTALLDIRS@
58
+-mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
59
++mkinstalldirs = @mkdir_p@
60
+ 
61
+ GMSGFMT = @GMSGFMT@
62
+ MSGFMT = @MSGFMT@
0 63