diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-17 06:29:45 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-17 06:29:45 +0000 |
commit | b91932d95fc0849d0016de70126eb99b96e5676d (patch) | |
tree | 46f691acd0d810628a07146c4376d73d13244d64 /media-libs | |
parent | fix big endian arm stat.h (diff) | |
download | gentoo-2-b91932d95fc0849d0016de70126eb99b96e5676d.tar.gz gentoo-2-b91932d95fc0849d0016de70126eb99b96e5676d.tar.bz2 gentoo-2-b91932d95fc0849d0016de70126eb99b96e5676d.zip |
force PIC
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/plib/plib-1.8.4.ebuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/media-libs/plib/plib-1.8.4.ebuild b/media-libs/plib/plib-1.8.4.ebuild index 26f3e3b144a7..5b07908b3b5c 100644 --- a/media-libs/plib/plib-1.8.4.ebuild +++ b/media-libs/plib/plib-1.8.4.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/plib/plib-1.8.4.ebuild,v 1.7 2005/06/29 15:42:58 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/plib/plib-1.8.4.ebuild,v 1.8 2005/07/17 06:29:45 vapier Exp $ + +inherit flag-o-matic DESCRIPTION="multimedia library used by many games" HOMEPAGE="http://plib.sourceforge.net/" @@ -14,6 +16,13 @@ IUSE="" DEPEND="virtual/x11 virtual/opengl" +src_unpack() { + unpack ${A} + # Since plib only provides static libraries, force + # building as PIC or plib is useless to amd64/etc... + append-flags -fPIC +} + src_install() { make DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS ChangeLog KNOWN_BUGS NOTICE README* TODO* |