diff options
author | Stefan Jones <cretin@gentoo.org> | 2003-08-29 06:28:41 +0000 |
---|---|---|
committer | Stefan Jones <cretin@gentoo.org> | 2003-08-29 06:28:41 +0000 |
commit | f6a1cd2532057b5eb1004b36b31516d0d6519cd5 (patch) | |
tree | 0757a995cc25b2149a7292e5cb9372ae56c22bb4 /sys-libs/libcap | |
parent | added yelp to RDEPEND (diff) | |
download | gentoo-2-f6a1cd2532057b5eb1004b36b31516d0d6519cd5.tar.gz gentoo-2-f6a1cd2532057b5eb1004b36b31516d0d6519cd5.tar.bz2 gentoo-2-f6a1cd2532057b5eb1004b36b31516d0d6519cd5.zip |
Only add -fPIC for libcap.so objects
Diffstat (limited to 'sys-libs/libcap')
-rw-r--r-- | sys-libs/libcap/ChangeLog | 5 | ||||
-rw-r--r-- | sys-libs/libcap/Manifest | 6 | ||||
-rw-r--r-- | sys-libs/libcap/files/libcap-1.10-syscall.patch | 14 | ||||
-rw-r--r-- | sys-libs/libcap/libcap-1.10-r2.ebuild | 5 |
4 files changed, 22 insertions, 8 deletions
diff --git a/sys-libs/libcap/ChangeLog b/sys-libs/libcap/ChangeLog index f109f295cc29..0f42b9414bb2 100644 --- a/sys-libs/libcap/ChangeLog +++ b/sys-libs/libcap/ChangeLog @@ -1,12 +1,15 @@ # ChangeLog for sys-libs/libcap # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/ChangeLog,v 1.5 2003/08/27 06:10:52 cretin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/ChangeLog,v 1.6 2003/08/29 06:28:38 cretin Exp $ 23 Aug 2003; <rac@gentoo.org> libcap-1.10-r2.ebuild: Add amd64 support *libcap-1.10-r2 (17 Aug 2003) + 29 Aug 2003; Stefan Jones <cretin@gentoo.org> : + Only add -fPIC to the library objectfiles + 27 Aug 2003; Stefan Jones <cretin@gentoo.org> : Add patch which removes the wrapping of the syscall, glibc wraps all syscalls for you. Now the library can be built with -fPIC on all platforms. diff --git a/sys-libs/libcap/Manifest b/sys-libs/libcap/Manifest index 97a722e4e8e3..a9110ec99821 100644 --- a/sys-libs/libcap/Manifest +++ b/sys-libs/libcap/Manifest @@ -1,8 +1,8 @@ MD5 0d560a0490338d2cae9ac8a1ae245462 libcap-1.10.ebuild 1678 -MD5 0682ed3d09e833b910dbbadc985f3f0c libcap-1.10-r2.ebuild 1720 +MD5 6781274e066cb808db3e24ed69fb6e93 libcap-1.10-r2.ebuild 1642 MD5 97a20b01e5cd724deecf7f8eab0a6d84 libcap-1.10-r1.ebuild 1734 -MD5 b5511783261b294830f67e433e769cca ChangeLog 1041 -MD5 71909af5e49cebc3b10f1fbee9a0afca files/libcap-1.10-syscall.patch 633 +MD5 b28ac686b2594896d11de0899dc08a74 ChangeLog 1138 +MD5 3aa7335821ba75c0994083995b0331f2 files/libcap-1.10-syscall.patch 1051 MD5 8f279ebf325d1b8efb6ad3c3a0d8cb5d files/libcap-1.10-python.patch 3353 MD5 f55c8f8c068940da50e21f4d4b840422 files/digest-libcap-1.10-r1 63 MD5 f55c8f8c068940da50e21f4d4b840422 files/digest-libcap-1.10-r2 63 diff --git a/sys-libs/libcap/files/libcap-1.10-syscall.patch b/sys-libs/libcap/files/libcap-1.10-syscall.patch index 3ef01c3cd73c..7c751f6514fa 100644 --- a/sys-libs/libcap/files/libcap-1.10-syscall.patch +++ b/sys-libs/libcap/files/libcap-1.10-syscall.patch @@ -17,7 +17,21 @@ +*/ /* * $Log: libcap-1.10-syscall.patch,v $ + * Revision 1.2 2003/08/29 06:28:38 cretin + * Only add -fPIC for libcap.so objects + * * Revision 1.1 2003/08/27 06:10:53 cretin * Added -fPIC for prelink to work, and fixed compile error * * Revision 1.1.1.1 1999/04/17 22:16:31 morgan +--- libcap-1.10/libcap/Makefile.jj 2003-08-29 07:19:21.863907872 +0100 ++++ libcap-1.10/libcap/Makefile 2003-08-29 07:20:21.562832256 +0100 +@@ -61,7 +61,7 @@ + ln -sf $(MAJLIBNAME) $(LIBNAME) + + %.o: %.c $(INCLS) +- $(CC) $(CFLAGS) -c $< -o $@ ++ $(CC) $(CFLAGS) -fPIC -c $< -o $@ + + install: all + mkdir -p -m 0755 $(INCDIR)/sys diff --git a/sys-libs/libcap/libcap-1.10-r2.ebuild b/sys-libs/libcap/libcap-1.10-r2.ebuild index 502db1727669..8f9765b787f0 100644 --- a/sys-libs/libcap/libcap-1.10-r2.ebuild +++ b/sys-libs/libcap/libcap-1.10-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-1.10-r2.ebuild,v 1.3 2003/08/27 06:10:53 cretin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-1.10-r2.ebuild,v 1.4 2003/08/29 06:28:38 cretin Exp $ inherit base @@ -39,9 +39,6 @@ src_compile() { CFLAGS="${CFLAGS} -I/usr/include/python${PYTHONVER}" fi - # all platforms need to get -fPIC for shared libraries - append-flags -fPIC - emake COPTFLAG="${CFLAGS}" DEBUG="" ${myflags} || die } |