summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libmpeg3/libmpeg3-1.5.1.ebuild')
-rw-r--r--media-libs/libmpeg3/libmpeg3-1.5.1.ebuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/media-libs/libmpeg3/libmpeg3-1.5.1.ebuild b/media-libs/libmpeg3/libmpeg3-1.5.1.ebuild
index 1b5af8d38ae2..330211b7c6ac 100644
--- a/media-libs/libmpeg3/libmpeg3-1.5.1.ebuild
+++ b/media-libs/libmpeg3/libmpeg3-1.5.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/libmpeg3-1.5.1.ebuild,v 1.4 2003/09/06 12:58:10 pappy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/libmpeg3-1.5.1.ebuild,v 1.5 2004/02/27 19:36:06 seemant Exp $
inherit flag-o-matic
@@ -17,13 +17,6 @@ RDEPEND="sys-libs/zlib
DEPEND="${RDEPEND}
x86? ( dev-lang/nasm ) "
-filter-flags -fPIC
-filter-flags -fno-common
-[ ${ARCH} = alpha ] && append-flags -fPIC
-[ ${ARCH} = hppa ] && append-flags -fPIC
-# http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml
-has_version 'sys-devel/hardened-gcc' && append-flags '-yet_exec'
-
src_unpack() {
unpack ${A}
cd ${S}
@@ -39,6 +32,13 @@ src_unpack() {
}
src_compile() {
+ filter-flags -fPIC
+ filter-flags -fno-common
+ [ ${ARCH} = alpha ] && append-flags -fPIC
+ [ ${ARCH} = hppa ] && append-flags -fPIC
+ # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml
+ has_version 'sys-devel/hardened-gcc' && append-flags '-yet_exec'
+
make || die
}