diff options
author | Bjoern Brauel <bjb@gentoo.org> | 2002-09-14 15:51:25 +0000 |
---|---|---|
committer | Bjoern Brauel <bjb@gentoo.org> | 2002-09-14 15:51:25 +0000 |
commit | 340fb33865558b4774b284619411bf464fc859b4 (patch) | |
tree | 057af2ff05b6334eb71963debe6d2330f8cb3ef9 /sys-apps/tcp-wrappers | |
parent | initial alpha (axp) support for gentoo (diff) | |
download | historical-340fb33865558b4774b284619411bf464fc859b4.tar.gz historical-340fb33865558b4774b284619411bf464fc859b4.tar.bz2 historical-340fb33865558b4774b284619411bf464fc859b4.zip |
initial alpha (axp) support for gentoo
Diffstat (limited to 'sys-apps/tcp-wrappers')
-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 | 9 |
2 files changed, 18 insertions, 2 deletions
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 new file mode 100644 index 000000000000..0c99d6cac95b --- /dev/null +++ b/sys-apps/tcp-wrappers/files/tcp_wrappers_7.6-alpha-fpic-fix.patch @@ -0,0 +1,11 @@ +--- 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 2537c53aa367..d802ca7ebf23 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 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r4.ebuild,v 1.5 2002/08/14 03:14:17 murphy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r4.ebuild,v 1.6 2002/09/14 15:51:25 bjb Exp $ MY_P="tcp_wrappers_${PV}" PATCH0="${MY_P}.dif" @@ -10,7 +10,7 @@ S=${WORKDIR}/${MY_P} DESCRIPTION="tcp wrappers" SRC_URI="ftp://ftp.porcupine.org/pub/security/${MY_P}.tar.gz" HOMEPAGE="ftp://ftp.porcupine.org/pub/security/index.html" -KEYWORDS="x86 ppc sparc sparc64" +KEYWORDS="x86 ppc sparc sparc64 alpha" SLOT="0" LICENSE="Freeware" DEPEND="virtual/glibc" @@ -28,6 +28,11 @@ src_unpack() { cp Makefile Makefile.orig sed -e "s/-O2/${CFLAGS}/" \ -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() { |