diff options
Diffstat (limited to 'multimedia/libmpeg2/Makefile')
-rw-r--r-- | multimedia/libmpeg2/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/multimedia/libmpeg2/Makefile b/multimedia/libmpeg2/Makefile index 096f7e8a2bb..52698b1df74 100644 --- a/multimedia/libmpeg2/Makefile +++ b/multimedia/libmpeg2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2005/08/10 20:56:20 jlam Exp $ +# $NetBSD: Makefile,v 1.11 2005/08/20 11:44:09 grant Exp $ DISTNAME= mpeg2dec-0.4.0b PKGNAME= libmpeg2-0.4.0b @@ -24,5 +24,13 @@ PKGCONFIG_OVERRIDE+= libmpeg2/libmpeg2.pc.in CONFIGURE_ARGS+= --enable-shared +.include "../../mk/bsd.prefs.mk" + +.if ${MACHINE_ARCH} == "i386" +. if ${OPSYS} == "NetBSD" || ${OPSYS} == "Linux" +CONFIGURE_ENV+= LIBMPEG2_CFLAGS=-prefer-non-pic +. endif +.endif + .include "../../devel/SDL/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |