added support for alpha
authorBjoern Brauel <bjb@gentoo.org>
Thu, 31 Oct 2002 17:11:11 +0000 (17:11 +0000)
committerBjoern Brauel <bjb@gentoo.org>
Thu, 31 Oct 2002 17:11:11 +0000 (17:11 +0000)
net-libs/wvstreams/ChangeLog
net-libs/wvstreams/wvstreams-3.70-r2.ebuild

index 1b4a3db12484e4de9288582ad5ce0f2439ed2336..6414c3d58bef2bd305a039eb307f3610f1021340 100644 (file)
@@ -1,7 +1,13 @@
 # ChangeLog for net-libs/wvstreams
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/ChangeLog,v 1.3 2002/07/05 18:48:50 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/ChangeLog,v 1.4 2002/10/31 17:11:11 bjb Exp $
 
+*wvstreams-3.70-r2 (31 Oct 2002)
+
+  21 Oct 2002; Bjoern Brauel <bjb@gentoo.org> wvstreams-3.70-r2.ebuild
+
+  On Alpha we strictly need to compile wvstreams with -fPIC. 
+  
 *wvstreams-3.70-r2 (05 Jul 2002)
 
   05 Jul 2002; Brandon Low <lostlogic@gentoo.org> wvstreams-3.70-r2.ebuild
index 9c9b075d2c8a0d56c37b62905a602676bd9c138a..c3b6c8eabe568064f360d56768df319ebe918850 100644 (file)
@@ -11,13 +11,17 @@ DEPEND="virtual/glibc"
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="x86 sparc sparc64"
+KEYWORDS="x86 sparc sparc64 alpha"
 
 src_unpack() {
 
        unpack ${A}
        cd ${S}
        patch -p1 < ${FILESDIR}/${P}-gentoo.patch || die "Patching failed"
+       if [ "${ARCH}" = "alpha" ]; then
+        sed "s:CXXOPTS += :CXXOPTS += -fPIC :" <Makefile >Makefile.sed
+        mv Makefile.sed Makefile
+    fi
 }
 
 src_compile() {