summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-07-23 05:59:53 +0000
committerNick Hadaway <raker@gentoo.org>2002-07-23 05:59:53 +0000
commit4b0f30601039c1c9a3fc48a779f005b1e4c1fef4 (patch)
tree34a594ac44a83e98c758f0839a32795b4b0f80f1 /dev-libs/pwlib
parentVersion bump. Added diff for proper compiling. Pinned down depends to (diff)
downloadgentoo-2-4b0f30601039c1c9a3fc48a779f005b1e4c1fef4.tar.gz
gentoo-2-4b0f30601039c1c9a3fc48a779f005b1e4c1fef4.tar.bz2
gentoo-2-4b0f30601039c1c9a3fc48a779f005b1e4c1fef4.zip
Added patch to remove gcc optimizations to allow users make.conf to
pass the settings. Closes bug #5413.
Diffstat (limited to 'dev-libs/pwlib')
-rw-r--r--dev-libs/pwlib/ChangeLog7
-rw-r--r--dev-libs/pwlib/files/opts.diff21
-rw-r--r--dev-libs/pwlib/pwlib-1.3.3.ebuild14
3 files changed, 40 insertions, 2 deletions
diff --git a/dev-libs/pwlib/ChangeLog b/dev-libs/pwlib/ChangeLog
index 7e148ba81cd4..be6836bcc275 100644
--- a/dev-libs/pwlib/ChangeLog
+++ b/dev-libs/pwlib/ChangeLog
@@ -1,9 +1,14 @@
# ChangeLog for dev-libs/pwlib
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.7 2002/07/20 16:41:51 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.8 2002/07/23 05:59:53 raker Exp $
*pwlib-1.3.3 (20 Jul 2002)
+ 22 Jul 2002; Nick Hadaway <raker@gentoo.org> files/opts.diff :
+
+ Added a patch to remove unix makefile optimizations to allow the users
+ make.conf to set the appropriate optimization flags. Closes bug #5413.
+
20 Jul 2002; Nick Hadaway <raker@gentoo.org>
pwlib-1.3.3.ebuild, file/digest-pwlib-1.3.3 :
diff --git a/dev-libs/pwlib/files/opts.diff b/dev-libs/pwlib/files/opts.diff
new file mode 100644
index 000000000000..2970d86b2d4d
--- /dev/null
+++ b/dev-libs/pwlib/files/opts.diff
@@ -0,0 +1,21 @@
+diff -urN pwlib/make/unix.mak pwlib-modified/make/unix.mak
+--- pwlib/make/unix.mak Thu Jun 20 00:49:04 2002
++++ pwlib-modified/make/unix.mak Tue Jul 23 00:56:39 2002
+@@ -636,7 +636,7 @@
+ STDCCFLAGS += -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=0
+ STDCCFLAGS += -malign-jumps=0 -malign-loops=0
+ else
+-STDCCFLAGS += -mcpu=$(CPUTYPE)
++STDCCFLAGS +=
+ endif
+ endif
+ endif
+@@ -1201,7 +1201,7 @@
+
+ else
+
+-OPTCCFLAGS += -O3 -DNDEBUG
++OPTCCFLAGS += -DNDEBUG
+ #OPTCCFLAGS += -DP_USE_INLINES=1
+ #OPTCCFLAGS += -fconserve-space
+ ifneq ($(OSTYPE),Carbon)
diff --git a/dev-libs/pwlib/pwlib-1.3.3.ebuild b/dev-libs/pwlib/pwlib-1.3.3.ebuild
index 1c26fc801061..a5755faf2ea0 100644
--- a/dev-libs/pwlib/pwlib-1.3.3.ebuild
+++ b/dev-libs/pwlib/pwlib-1.3.3.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/dev-libs/pwlib/pwlib-1.3.3.ebuild,v 1.1 2002/07/20 16:41:51 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.3.3.ebuild,v 1.2 2002/07/23 05:59:53 raker Exp $
S="${WORKDIR}/${PN}"
DESCRIPTION="Libs needed for GnomeMeeting"
@@ -8,6 +8,18 @@ SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz"
HOMEPAGE="http://www.openh323.org"
SLOT="0"
DEPEND="virtual/glibc >=sys-devel/bison-1.28 >=sys-devel/flex-2.5.4a"
+KEYWORDS="x86 -ppc -sparc -sparc64"
+LICENSE="MPL"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ # Removes optimizations from unix make options
+ # Allows the users make.conf to set optimization level
+ patch -p1 < ${FILESDIR}/opts.diff
+
+}
src_compile() {
cd ${S}