summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-04-18 18:59:09 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-04-18 18:59:09 +0000
commitafde391b8b2cfc96dc6ac1d81593e5fbd5d30254 (patch)
tree38fdda09f1d8d851be018597569d2fb7aff61522 /media-libs/flac
parentAdded IUSE var (Manifest recommit) (diff)
downloadgentoo-2-afde391b8b2cfc96dc6ac1d81593e5fbd5d30254.tar.gz
gentoo-2-afde391b8b2cfc96dc6ac1d81593e5fbd5d30254.tar.bz2
gentoo-2-afde391b8b2cfc96dc6ac1d81593e5fbd5d30254.zip
-fPIC CFLAGS addition to all (not just hppa) CFLAGS. --with-pic isn't enough... see bug #42732.
Diffstat (limited to 'media-libs/flac')
-rw-r--r--media-libs/flac/ChangeLog6
-rw-r--r--media-libs/flac/flac-1.1.0-r1.ebuild7
2 files changed, 8 insertions, 5 deletions
diff --git a/media-libs/flac/ChangeLog b/media-libs/flac/ChangeLog
index 8b2ef686a594..722929463a9e 100644
--- a/media-libs/flac/ChangeLog
+++ b/media-libs/flac/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/flac
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.23 2004/04/08 02:30:36 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.24 2004/04/18 18:59:09 eradicator Exp $
+
+ 18 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> flac-1.1.0-r1.ebuild:
+ -fPIC CFLAGS addition to all (not just hppa) CFLAGS. --with-pic isn't
+ enough... see bug #42732.
*flac-1.1.0-r1 (07 Apr 2004)
diff --git a/media-libs/flac/flac-1.1.0-r1.ebuild b/media-libs/flac/flac-1.1.0-r1.ebuild
index a1ff3de726f7..4d46b916c637 100644
--- a/media-libs/flac/flac-1.1.0-r1.ebuild
+++ b/media-libs/flac/flac-1.1.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.1.0-r1.ebuild,v 1.4 2004/04/16 05:18:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.1.0-r1.ebuild,v 1.5 2004/04/18 18:59:09 eradicator Exp $
inherit libtool
@@ -36,11 +36,10 @@ src_unpack() {
}
src_compile() {
- # hppa need -fPIC for to compile when X and xmss are in USE
+ # non-x86 need -fPIC for to compile when X and xmss are in USE
# the --with-pic is not enough to fix this ... Makefiles probably
# need to get patched :p
- if use xmms && use X && [ "${ARCH}" = "hppa" ]
- then
+ if use xmms && use X; then
export CFLAGS="${CFLAGS} -fPIC"
fi