diff options
author | Eray Aslan <eras@gentoo.org> | 2011-06-07 13:11:08 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2011-06-07 13:11:08 +0000 |
commit | eee2f540db2c9f7a03742d5806a906df259cc5d9 (patch) | |
tree | 6dc84f5bc5ae8fd73ee92b57289307b371cbe059 /net-libs | |
parent | Fix previous commit to put sys-apps/less in PDEPEND instead of RDEPEND. (diff) | |
download | gentoo-2-eee2f540db2c9f7a03742d5806a906df259cc5d9.tar.gz gentoo-2-eee2f540db2c9f7a03742d5806a906df259cc5d9.tar.bz2 gentoo-2-eee2f540db2c9f7a03742d5806a906df259cc5d9.zip |
fix as-needed properly - bug #370421
(Portage version: 2.1.10/cvs/Linux x86_64)
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/c-client/ChangeLog | 5 | ||||
-rw-r--r-- | net-libs/c-client/files/c-client-2007e-ldflags.patch | 32 |
2 files changed, 18 insertions, 19 deletions
diff --git a/net-libs/c-client/ChangeLog b/net-libs/c-client/ChangeLog index e9209bc88756..c382d29d90e3 100644 --- a/net-libs/c-client/ChangeLog +++ b/net-libs/c-client/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-libs/c-client # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v 1.71 2011/06/07 12:03:34 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v 1.72 2011/06/07 13:11:08 eras Exp $ + + 07 Jun 2011; Eray Aslan <eras@gentoo.org> files/c-client-2007e-ldflags.patch: + Fix as-needed properly - bug #370421 07 Jun 2011; Eray Aslan <eras@gentoo.org> files/c-client-2007e-ldflags.patch: Fix as-needed flag - bug #370421 diff --git a/net-libs/c-client/files/c-client-2007e-ldflags.patch b/net-libs/c-client/files/c-client-2007e-ldflags.patch index 819eda6b8756..7ca0942e3364 100644 --- a/net-libs/c-client/files/c-client-2007e-ldflags.patch +++ b/net-libs/c-client/files/c-client-2007e-ldflags.patch @@ -1,12 +1,18 @@ ---- src/osdep/unix/Makefile~ 2010-08-08 02:30:48.000000000 -0400 -+++ src/osdep/unix/Makefile 2010-08-08 02:31:08.758000018 -0400 -@@ -959,17 +959,17 @@ +--- src/osdep/unix/Makefile~ 2011-06-07 16:04:29.000000000 +0300 ++++ src/osdep/unix/Makefile 2011-06-07 15:55:31.000000000 +0300 +@@ -954,23 +954,24 @@ + + # Once-only environment setup + +-once: onceenv ckp$(PASSWDTYPE) ssl$(SSLTYPE) osdep.c ++once: ssl$(SSLTYPE) onceenv ckp$(PASSWDTYPE) osdep.c + onceenv: @echo Once-only environment setup... echo $(CC) > CCTYPE - echo $(BASECFLAGS) '$(EXTRACFLAGS)' -DCHUNKSIZE=$(CHUNKSIZE) > CFLAGS -+ echo `$(CAT) CFLAGS` $(BASECFLAGS) '$(EXTRACFLAGS)' -DCHUNKSIZE=$(CHUNKSIZE) > CFLAGS - echo -DCREATEPROTO=$(CREATEPROTO) -DEMPTYPROTO=$(EMPTYPROTO) \ ++ echo `$(CAT) CFLAGS` $(BASECFLAGS) '$(EXTRACFLAGS)' -DCHUNKSIZE=$(CHUNKSIZE) > CFLAGS + echo `$(CAT) OSCFLAGS` -DCREATEPROTO=$(CREATEPROTO) -DEMPTYPROTO=$(EMPTYPROTO) \ -DMD5ENABLE=\"$(MD5PWD)\" -DMAILSPOOL=\"$(MAILSPOOL)\" \ -DANONYMOUSHOME=\"$(MAILSPOOL)/anonymous\" \ @@ -15,23 +21,13 @@ -DLOCKPGM1=\"$(LOCKPGM1)\" -DLOCKPGM2=\"$(LOCKPGM2)\" \ -DLOCKPGM3=\"$(LOCKPGM3)\" > OSCFLAGS - echo $(BASELDFLAGS) $(EXTRALDFLAGS) > LDFLAGS ++ echo `$(CAT) LDFLAGS` > LIBS + echo $(EXTRALDFLAGS) `$(CAT) LDFLAGS` -lcrypt $(BASELDFLAGS) > LDFLAGS echo "$(ARRC) $(ARCHIVE) $(BINARIES);$(RANLIB) $(ARCHIVE)" > ARCHIVE - echo "`$(CAT) CCTYPE` `$(CAT) CFLAGS` `$(CAT) OSFLAGS` -shared \ -+ echo "`$(CAT) CCTYPE` `$(CAT) LDFLAGS` `$(CAT) CFLAGS` `$(CAT) OSFLAGS` -shared \ - -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 $(BINARIES)" \ -+ -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 $(BINARIES)" `$(CAT) LDFLAGS` \ ++ echo "`$(CAT) CCTYPE` `$(CAT) CFLAGS` $(EXTRALDFLAGS) `$(CAT) OSFLAGS` -shared \ ++ -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 $(BINARIES)" `$(CAT) LIBS` $(BASELDFLAGS) \ >> ARCHIVE echo $(OS) > OSTYPE - ./drivers $(EXTRADRIVERS) $(DEFAULTDRIVERS) dummy ---- src/osdep/unix/Makefile~ 2010-08-08 04:25:00.000000000 -0400 -+++ src/osdep/unix/Makefile 2010-08-08 04:36:49.720000021 -0400 -@@ -954,7 +954,7 @@ - - # Once-only environment setup - --once: onceenv ckp$(PASSWDTYPE) ssl$(SSLTYPE) osdep.c -+once: ssl$(SSLTYPE) onceenv ckp$(PASSWDTYPE) osdep.c - - onceenv: - @echo Once-only environment setup... + ./drivers $(EXTRADRIVERS) $(DEFAULTDRIVERS) dummy |