diff options
author | Stefan Jones <cretin@gentoo.org> | 2002-11-17 21:24:54 +0000 |
---|---|---|
committer | Stefan Jones <cretin@gentoo.org> | 2002-11-17 21:24:54 +0000 |
commit | 4714b83f27426f9966a3395e33dbcbc73c635977 (patch) | |
tree | 5f0fdeaeb7c77b46d7e63e4866f50a0c333d38b3 | |
parent | new version of gtk2 port (diff) | |
download | gentoo-2-4714b83f27426f9966a3395e33dbcbc73c635977.tar.gz gentoo-2-4714b83f27426f9966a3395e33dbcbc73c635977.tar.bz2 gentoo-2-4714b83f27426f9966a3395e33dbcbc73c635977.zip |
-fPIC addition
-rw-r--r-- | sys-apps/tcp-wrappers/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/tcp-wrappers/files/tcp_wrappers_7.6-alpha-fpic-fix.patch | 11 | ||||
-rw-r--r-- | sys-apps/tcp-wrappers/tcp-wrappers-7.6-r4.ebuild | 7 |
3 files changed, 7 insertions, 17 deletions
diff --git a/sys-apps/tcp-wrappers/ChangeLog b/sys-apps/tcp-wrappers/ChangeLog index 02dc07ef132d..b947d7ba0c6d 100644 --- a/sys-apps/tcp-wrappers/ChangeLog +++ b/sys-apps/tcp-wrappers/ChangeLog @@ -1,6 +1,6 @@ # ChangeLog for sys-apps/tcp-wrappers # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/ChangeLog,v 1.3 2002/07/14 19:20:19 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/ChangeLog,v 1.4 2002/11/17 21:24:54 cretin Exp $ *tcp-wrappers-7.6-r2.ebuild (14 July 2002) @@ -9,6 +9,10 @@ *tcp-wrappers-7.6-r4 (06 Apr 2002) + 17 Nov 2002; Steafn Jones <cretin@gentoo.org> tcp-wrappers-7.6-r4.ebuild : + Removed alpha patch and added -fPIC to CFLAGS. This is to aid linking + shared libraries and get prelink working. + 14 Jul 2002; phoen][x <phoenix@gentoo.org> tcp-wrappers-7.6-r4.ebuild : Added LICENSE, KEYWORDS, SLOT. diff --git a/sys-apps/tcp-wrappers/files/tcp_wrappers_7.6-alpha-fpic-fix.patch b/sys-apps/tcp-wrappers/files/tcp_wrappers_7.6-alpha-fpic-fix.patch deleted file mode 100644 index 0c99d6cac95b..000000000000 --- a/sys-apps/tcp-wrappers/files/tcp_wrappers_7.6-alpha-fpic-fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- tcp_wrappers_7.6/Makefile Wed Sep 11 18:12:55 2002 -+++ tcp_wrappers_7.6-alpha/Makefile Wed Sep 11 18:19:10 2002 -@@ -145,7 +145,7 @@ - @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ - LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= \ - NETGROUP=-DNETGROUP TLI= \ -- EXTRA_CFLAGS="-DSYS_ERRLIST_DEFINED -DINET6=1 -Dss_family=__ss_family" all -+ EXTRA_CFLAGS="-fPIC -DSYS_ERRLIST_DEFINED -DINET6=1 -Dss_family=__ss_family" all - - # This is good for many SYSV+BSD hybrids with NIS, probably also for HP-UX 7.x. - hpux hpux8 hpux9 hpux10: diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r4.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r4.ebuild index 8fdcf7e1aecf..7771b012d3cd 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r4.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r4.ebuild,v 1.9 2002/10/20 18:54:50 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r4.ebuild,v 1.10 2002/11/17 21:24:54 cretin Exp $ MY_P="tcp_wrappers_${PV}" PATCH0="${MY_P}.dif" @@ -24,12 +24,9 @@ src_unpack() { patch -p0 < ${FILESDIR}/${PATCH2} || die cp Makefile Makefile.orig - sed -e "s/-O2/${CFLAGS}/" \ + sed -e "s/-O2/${CFLAGS} -fPIC/" \ -e "s:AUX_OBJ=.*:AUX_OBJ= \\\:" Makefile.orig > Makefile - if [ ${ARCH} == "alpha" ]; then - patch -p1 < ${FILESDIR}/tcp_wrappers_7.6-alpha-fpic-fix.patch - fi } src_compile() { |