summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-02 13:56:11 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-02 13:56:11 +0000
commit6a2a1e097dc1d780e08f8e07473617ec36b41516 (patch)
tree0d0703f3401c85e650baed1e9725a37a66622cd9 /sys-libs/zlib
parentStable on alpha. (diff)
downloadgentoo-2-6a2a1e097dc1d780e08f8e07473617ec36b41516.tar.gz
gentoo-2-6a2a1e097dc1d780e08f8e07473617ec36b41516.tar.bz2
gentoo-2-6a2a1e097dc1d780e08f8e07473617ec36b41516.zip
update the clean target to delete PIC files
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-libs/zlib')
-rw-r--r--sys-libs/zlib/files/zlib-1.2.1-build-fPIC.patch19
1 files changed, 13 insertions, 6 deletions
diff --git a/sys-libs/zlib/files/zlib-1.2.1-build-fPIC.patch b/sys-libs/zlib/files/zlib-1.2.1-build-fPIC.patch
index 3f122c9cfc2b..86d05c8a61c5 100644
--- a/sys-libs/zlib/files/zlib-1.2.1-build-fPIC.patch
+++ b/sys-libs/zlib/files/zlib-1.2.1-build-fPIC.patch
@@ -1,6 +1,5 @@
-diff -urN zlib-1.2.1-old/Makefile.in zlib-1.2.1/Makefile.in
---- zlib-1.2.1-old/Makefile.in 2003-12-02 12:14:28.000000000 -0800
-+++ zlib-1.2.1/Makefile.in 2003-12-02 12:16:46.000000000 -0800
+--- zlib-1.2.1/Makefile.in
++++ zlib-1.2.1/Makefile.in
@@ -49,6 +49,8 @@
OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \
zutil.o inflate.o infback.o inftrees.o inffast.o
@@ -51,9 +50,17 @@ diff -urN zlib-1.2.1-old/Makefile.in zlib-1.2.1/Makefile.in
uninstall:
cd $(includedir); \
cd $(libdir); rm -f libz.a; \
-diff -urN zlib-1.2.1-old/configure zlib-1.2.1/configure
---- zlib-1.2.1-old/configure 2003-11-16 19:50:39.000000000 -0800
-+++ zlib-1.2.1/configure 2003-12-02 12:18:01.000000000 -0800
+@@ -127,7 +127,7 @@
+
+ mostlyclean: clean
+ clean:
+- rm -f *.o *~ example$(EXE) minigzip$(EXE) \
++ rm -f *.lo *.o *~ example$(EXE) minigzip$(EXE) \
+ libz.* foo.gz so_locations \
+ _match.s maketree contrib/infback9/*.o
+
+--- zlib-1.2.1/configure
++++ zlib-1.2.1/configure
@@ -160,7 +160,7 @@
if test "`($CC -c $SFLAGS $test.c) 2>&1`" = "" &&
test "`($LDSHARED -o $test$shared_ext $test.o) 2>&1`" = ""; then