summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-06-07 12:03:34 +0000
committerEray Aslan <eras@gentoo.org>2011-06-07 12:03:34 +0000
commitf8ccb116603f9b883beadbe9c90330285f3efee0 (patch)
treefbf877627e5a64a9edb0975f4518322a5feac0bd /net-libs/c-client/files
parentppc/ppc64 stable wrt #370441 (diff)
downloadgentoo-2-f8ccb116603f9b883beadbe9c90330285f3efee0.tar.gz
gentoo-2-f8ccb116603f9b883beadbe9c90330285f3efee0.tar.bz2
gentoo-2-f8ccb116603f9b883beadbe9c90330285f3efee0.zip
Gross hack around the build process for as-needed - bug #370421
(Portage version: 2.1.10/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/c-client/files')
-rw-r--r--net-libs/c-client/files/c-client-2007e-ldflags.patch6
1 files changed, 4 insertions, 2 deletions
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 11b1ff050750..819eda6b8756 100644
--- a/net-libs/c-client/files/c-client-2007e-ldflags.patch
+++ b/net-libs/c-client/files/c-client-2007e-ldflags.patch
@@ -15,13 +15,15 @@
-DLOCKPGM1=\"$(LOCKPGM1)\" -DLOCKPGM2=\"$(LOCKPGM2)\" \
-DLOCKPGM3=\"$(LOCKPGM3)\" > OSCFLAGS
- echo $(BASELDFLAGS) $(EXTRALDFLAGS) > LDFLAGS
-+ echo `$(CAT) LDFLAGS` -lcrypt $(BASELDFLAGS) $(EXTRALDFLAGS) > LDFLAGS
++ 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)" \
++ -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 $(BINARIES)" `$(CAT) LDFLAGS` \
>> 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 @@