diff options
author | Harald van Dijk <truedfx@gentoo.org> | 2008-10-06 19:31:53 +0000 |
---|---|---|
committer | Harald van Dijk <truedfx@gentoo.org> | 2008-10-06 19:31:53 +0000 |
commit | 5728dd0339d052e98f7bc28b4ffc2f55431d7e99 (patch) | |
tree | 614a0a121c81cb553887700a567ca44ed06093e4 /dev-libs/librep | |
parent | old (diff) | |
download | gentoo-2-5728dd0339d052e98f7bc28b4ffc2f55431d7e99.tar.gz gentoo-2-5728dd0339d052e98f7bc28b4ffc2f55431d7e99.tar.bz2 gentoo-2-5728dd0339d052e98f7bc28b4ffc2f55431d7e99.zip |
Use LDFLAGS during all links
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'dev-libs/librep')
-rw-r--r-- | dev-libs/librep/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/librep/files/librep-0.17_p20070101-ldflags.patch | 27 | ||||
-rw-r--r-- | dev-libs/librep/librep-0.17_p20070101.ebuild | 3 |
3 files changed, 34 insertions, 2 deletions
diff --git a/dev-libs/librep/ChangeLog b/dev-libs/librep/ChangeLog index 584cea3be2cd..2890f37dd031 100644 --- a/dev-libs/librep/ChangeLog +++ b/dev-libs/librep/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/librep # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/librep/ChangeLog,v 1.50 2008/08/21 19:43:18 truedfx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/librep/ChangeLog,v 1.51 2008/10/06 19:31:53 truedfx Exp $ + + 06 Oct 2008; Harald van Dijk <truedfx@gentoo.org> + +files/librep-0.17_p20070101-ldflags.patch, librep-0.17_p20070101.ebuild: + Use LDFLAGS during all links 21 Aug 2008; Harald van Dijk <truedfx@gentoo.org> +files/librep-0.17_p20070101-disable-elisp.patch, diff --git a/dev-libs/librep/files/librep-0.17_p20070101-ldflags.patch b/dev-libs/librep/files/librep-0.17_p20070101-ldflags.patch new file mode 100644 index 000000000000..d0b5b2c0593a --- /dev/null +++ b/dev-libs/librep/files/librep-0.17_p20070101-ldflags.patch @@ -0,0 +1,27 @@ +--- librep-0.17/Makedefs.in ++++ librep-0.17/Makedefs.in +@@ -101,7 +101,7 @@ + # Rule for dlopen'able C objects + %.la : %.c + $(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) $< +- $(rep_DL_LD) $(CPPFLAGS) $(CFLAGS) -o $@ $*.lo ++ $(rep_DL_LD) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $*.lo + + # Build dependancy files from C source files. + .%.d : %.c +--- librep-0.17/src/Makefile.in ++++ librep-0.17/src/Makefile.in +@@ -61,11 +61,11 @@ + -o $@ $^ -rpath $(libdir) $(LIBS) $(GMP_LIBS) + + rep : $(REP_OBJS) $(EXTRA_LIBOBJS) librep.la +- $(LIBTOOL) --mode=link --tag=CC $(CC) -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \ ++ $(LIBTOOL) --mode=link --tag=CC $(CC) -export-dynamic $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ \ + $(REP_OBJS) librep.la $(EXTRA_LIBOBJS) $(LIBS) $(GMP_LIBS) + + srep : $(REP_OBJS) $(EXTRA_LIBOBJS) librep.la +- $(LIBTOOL) --mode=link --tag=CC $(CC) -static -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \ ++ $(LIBTOOL) --mode=link --tag=CC $(CC) -static -export-dynamic $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ \ + $(REP_OBJS) librep.la $(EXTRA_LIBOBJS) $(LIBS) $(GMP_LIBS) + + rep-remote : rep-remote.c diff --git a/dev-libs/librep/librep-0.17_p20070101.ebuild b/dev-libs/librep/librep-0.17_p20070101.ebuild index f548c79f9c70..50119abbb1f8 100644 --- a/dev-libs/librep/librep-0.17_p20070101.ebuild +++ b/dev-libs/librep/librep-0.17_p20070101.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/librep/librep-0.17_p20070101.ebuild,v 1.5 2008/08/21 19:43:18 truedfx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/librep/librep-0.17_p20070101.ebuild,v 1.6 2008/10/06 19:31:53 truedfx Exp $ MY_P=${P%_*} @@ -34,6 +34,7 @@ src_unpack() { epatch "${FILESDIR}"/${P}-libtool.patch epatch "${FILESDIR}"/rep_file_fdopen.patch epatch "${FILESDIR}"/${P}-disable-elisp.patch + epatch "${FILESDIR}"/${P}-ldflags.patch eautoreconf || die "eautoreconf failed" } |