summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2009-02-09 16:58:10 +0000
committerChristoph Mende <angelos@gentoo.org>2009-02-09 16:58:10 +0000
commitee8f1c1fd4277c68856fedb193127dec38154489 (patch)
tree6f430d098d482e34431fdf9cb99205a6e1028c84 /net-irc
parentadded mico-2.3.13 (#257984) (diff)
downloadhistorical-ee8f1c1fd4277c68856fedb193127dec38154489.tar.gz
historical-ee8f1c1fd4277c68856fedb193127dec38154489.tar.bz2
historical-ee8f1c1fd4277c68856fedb193127dec38154489.zip
Respect LDFLAGS
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/eiwic/ChangeLog8
-rw-r--r--net-irc/eiwic/Manifest15
-rw-r--r--net-irc/eiwic/eiwic-1.1.3.ebuild19
-rw-r--r--net-irc/eiwic/files/eiwic-1.1.3-ldflags.patch13
4 files changed, 39 insertions, 16 deletions
diff --git a/net-irc/eiwic/ChangeLog b/net-irc/eiwic/ChangeLog
index 35ef59ee6923..6bb7e5c4e5aa 100644
--- a/net-irc/eiwic/ChangeLog
+++ b/net-irc/eiwic/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-irc/eiwic
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/eiwic/ChangeLog,v 1.4 2007/07/01 12:42:23 angelos Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/eiwic/ChangeLog,v 1.5 2009/02/09 16:58:10 angelos Exp $
+
+ 09 Feb 2009; Christoph Mende <angelos@gentoo.org>
+ +files/eiwic-1.1.3-ldflags.patch, eiwic-1.1.3.ebuild:
+ Respect LDFLAGS
01 Jul 2007; Christoph Mende <angelos@gentoo.org> eiwic-1.1.3.ebuild:
Stable on amd64
diff --git a/net-irc/eiwic/Manifest b/net-irc/eiwic/Manifest
index 77408f8e8d45..f7ed0fab6c8e 100644
--- a/net-irc/eiwic/Manifest
+++ b/net-irc/eiwic/Manifest
@@ -1,4 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX eiwic-1.1.3-ldflags.patch 725 RMD160 94fa64529199a0e0add2e339ae3807a09a5d636a SHA1 33f9d00ca7414ba5969ca01b14370f6a42567e62 SHA256 98f466c08667dfaaedbf1ba04022ca870a4d0f9b0b2dd3c4b6db11df05759730
DIST eiwic-1.1.3.tar.gz 116067 RMD160 3e0c8be266f90b9093f00102075c29e67cb0c5f4 SHA1 24d96e31ea422d2ac6cc6a8bd8e7d94aa8d3a9c4 SHA256 0e1bb06b6d585bf8511c1ada272be2be8eff6de8a44517eec243cfa31be22711
-EBUILD eiwic-1.1.3.ebuild 1293 RMD160 9025a35b7b8ebb8de4e922cea60225d5a90be8df SHA1 4d09270f3de24edc5f44d4251c4e5b1bb8efd7f3 SHA256 a53d32e3cd7658a0732457958e36105dd35783617a816dfd153841acf3f74a11
-MISC ChangeLog 638 RMD160 c9219061836c87681657f32e9165eae373c944d5 SHA1 209a1c29b6644d167c119e9a4042be766aedec63 SHA256 15a1eb89255d1879b73bd9acb0fd948347baf25bbcd16d9d5c78e59cd5ef0251
+EBUILD eiwic-1.1.3.ebuild 1280 RMD160 33ebed140ef439a1ca4f9ce00673b4033a6863fe SHA1 83eec17691a769d40a8189d90bb66a6a052264f5 SHA256 a662b79a0ace1a65dfae81bafe21fcc39dfbf383c57a90c9d819ce619df5947d
+MISC ChangeLog 765 RMD160 3a6eccbb74f83c3fab42f527e3a4f8dc2944722e SHA1 12e4af9730d60b642e881bec830b0f62442a6e63 SHA256 1c3895a861b8929a69561a13fa959e30da88f6ee564cbd185799b3a061a74cf5
MISC metadata.xml 596 RMD160 e97ac8a49d32980bc7b9d63da15ef85eba7001fa SHA1 9fe97d958bd704f3ce2dec111f441394eac4962f SHA256 4ced54e5cdbfd3e1204c159abdae0726bb7be87ce0545a65cd0dc3ecbac0ee7c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkmQYKsACgkQKhnDs22gwa+qZQCeNEKzpshBx+hZoO0hd9HFMfSe
+81sAoI2xY72XXKrQTyVGiIwJBSDgS/52
+=CD2f
+-----END PGP SIGNATURE-----
diff --git a/net-irc/eiwic/eiwic-1.1.3.ebuild b/net-irc/eiwic/eiwic-1.1.3.ebuild
index 1b7aec57f9bb..ac13fecddc4f 100644
--- a/net-irc/eiwic/eiwic-1.1.3.ebuild
+++ b/net-irc/eiwic/eiwic-1.1.3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/eiwic/eiwic-1.1.3.ebuild,v 1.4 2007/07/01 12:42:23 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/eiwic/eiwic-1.1.3.ebuild,v 1.5 2009/02/09 16:58:10 angelos Exp $
-inherit multilib flag-o-matic
+inherit autotools eutils multilib flag-o-matic
DESCRIPTION="A modular IRC bot written in C"
HOMEPAGE="http://lordi.styleliga.org/eiwic/"
@@ -19,21 +19,16 @@ RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
-
- if use debug; then
- strip-flags
- append-flags -ggdb
- fi
-
sed -i "/^set MODULE_PATH/s:modules:/usr/$(get_libdir)/eiwic:" sample.conf
sed -i "/^load MODULE/s:$:.so:" sample.conf
+ epatch "${FILESDIR}"/${P}-ldflags.patch
+ eautoreconf
}
src_compile() {
econf \
- $(use_enable debug vv-debug) \
- $(use_enable ipv6) \
- || die "econf failed"
+ $(use_enable debug vv-debug) \
+ $(use_enable ipv6)
emake || die "emake failed"
}
diff --git a/net-irc/eiwic/files/eiwic-1.1.3-ldflags.patch b/net-irc/eiwic/files/eiwic-1.1.3-ldflags.patch
new file mode 100644
index 000000000000..a15ef017fede
--- /dev/null
+++ b/net-irc/eiwic/files/eiwic-1.1.3-ldflags.patch
@@ -0,0 +1,13 @@
+--- modules/Makefile.am.orig 2009-02-09 17:47:30.237896861 +0100
++++ modules/Makefile.am 2009-02-09 17:47:48.382983848 +0100
+@@ -15,8 +15,8 @@
+ echo "$@ skipped."; \
+ else :;\
+ if test $(patsubst %.so,%.c, $@) -nt $@ -o ! -e $@; then \
+- echo "@CC@ @CFLAGS@ $(DEFS) $(INCLUDES) `$(ADD_BUILD_FLAGS)` -shared -fPIC $(patsubst %.so,%.c, $@) -o $@"; \
+- @CC@ @CFLAGS@ $(DEFS) $(INCLUDES) `$(ADD_BUILD_FLAGS)` -shared -fPIC $(patsubst %.so,%.c, $@) -o $@; \
++ echo "@CC@ @CFLAGS@ $(LDFLAGS) $(DEFS) $(INCLUDES) `$(ADD_BUILD_FLAGS)` -shared -fPIC $(patsubst %.so,%.c, $@) -o $@"; \
++ @CC@ @CFLAGS@ $(LDFLAGS) $(DEFS) $(INCLUDES) `$(ADD_BUILD_FLAGS)` -shared -fPIC $(patsubst %.so,%.c, $@) -o $@; \
+ else :; fi; \
+ fi
+