summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2003-05-20 19:25:41 +0000
committerTavis Ormandy <taviso@gentoo.org>2003-05-20 19:25:41 +0000
commitc8483f5f5fdf964e4802325dce0c614bd6181129 (patch)
tree80ef163d1b322b729f8328cb1b0cec3fb9ee4dea /sys-libs
parent Fixed bug #21330 as well. (diff)
downloadgentoo-2-c8483f5f5fdf964e4802325dce0c614bd6181129.tar.gz
gentoo-2-c8483f5f5fdf964e4802325dce0c614bd6181129.tar.bz2
gentoo-2-c8483f5f5fdf964e4802325dce0c614bd6181129.zip
"-g" disables optimisation with ccc, use -g3
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/pwdb/Manifest7
-rw-r--r--sys-libs/pwdb/pwdb-0.61-r4.ebuild8
2 files changed, 13 insertions, 2 deletions
diff --git a/sys-libs/pwdb/Manifest b/sys-libs/pwdb/Manifest
new file mode 100644
index 000000000000..c181e3e09a5a
--- /dev/null
+++ b/sys-libs/pwdb/Manifest
@@ -0,0 +1,7 @@
+MD5 c8596ae374b674c04d8fa970622d8685 pwdb-0.61-r4.ebuild 1595
+MD5 d9a454d78f5b53f9f25b99baacb52bc7 pwdb-0.61-r3.ebuild 1117
+MD5 9bbe7452503292cd5cbe83ce27db5fdb ChangeLog 1827
+MD5 cd2a9858f40c4a6e7098424f5785b7bc files/pwdb-0.61-hppa.patch 487
+MD5 bfc6ac3622c2b25c39d9f48d8474c2dc files/digest-pwdb-0.61-r3 61
+MD5 bfc6ac3622c2b25c39d9f48d8474c2dc files/digest-pwdb-0.61-r4 61
+MD5 0d0c7a6216f5cf079472dfe36ea9d71c files/passwd 143
diff --git a/sys-libs/pwdb/pwdb-0.61-r4.ebuild b/sys-libs/pwdb/pwdb-0.61-r4.ebuild
index ed4f32614c62..c43fd5e1a00f 100644
--- a/sys-libs/pwdb/pwdb-0.61-r4.ebuild
+++ b/sys-libs/pwdb/pwdb-0.61-r4.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pwdb/pwdb-0.61-r4.ebuild,v 1.9 2003/05/19 00:43:19 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pwdb/pwdb-0.61-r4.ebuild,v 1.10 2003/05/20 19:25:33 taviso Exp $
-inherit eutils
+inherit eutils flag-o-matic
S="${WORKDIR}/${P}"
DESCRIPTION="Password database"
@@ -24,6 +24,10 @@ src_unpack () {
}
src_compile() {
+ # author has specified application to be compiled with `-g`
+ # no problem, but with ccc `-g` disables optimisation to make
+ # debugging easier, `-g3` enables debugging and optimisation
+ [ "${ARCH}" = "alpha" -a "${CC}" = "ccc" ] && append-flags -g3
cp Makefile Makefile.orig
cp default.defs default.defs.orig
sed -e "s/^DIRS = .*/DIRS = libpwdb/" -e "s:EXTRAS += :EXTRAS += ${CFLAGS} :" \