summaryrefslogtreecommitdiff
path: root/graphics/mpeg-lib
diff options
context:
space:
mode:
authorsalo <salo>2003-06-12 13:00:08 +0000
committersalo <salo>2003-06-12 13:00:08 +0000
commitb139956caaf32b1ecf65515ef9b44b342293a711 (patch)
tree84a5d49edfc61c44d9af8ff4c7ff56f1fcc9c8fb /graphics/mpeg-lib
parent64db50e6d6762c9cf0b0601af04dab1f72c24241 (diff)
downloadpkgsrc-b139956caaf32b1ecf65515ef9b44b342293a711.tar.gz
Pass the correct environment to configure script.
Fixes build with native compiler on Solaris.
Diffstat (limited to 'graphics/mpeg-lib')
-rw-r--r--graphics/mpeg-lib/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/graphics/mpeg-lib/Makefile b/graphics/mpeg-lib/Makefile
index cafc3f3fe71..ca4e4fc0dd3 100644
--- a/graphics/mpeg-lib/Makefile
+++ b/graphics/mpeg-lib/Makefile
@@ -1,4 +1,5 @@
-# $NetBSD: Makefile,v 1.18 2003/06/02 01:19:21 jschauma Exp $
+# $NetBSD: Makefile,v 1.19 2003/06/12 13:00:08 salo Exp $
+#
DISTNAME= mpeg_lib-1.3.1
PKGNAME= mpeg-1.3.1
@@ -11,9 +12,13 @@ MAINTAINER= tech-pkg@netbsd.org
HOMEPAGE= http://starship.python.net/~gward/mpeglib/
COMMENT= Library for decoding MPEG movies
-USE_BUILDLINK2= # defined
-USE_LIBTOOL= # defined
-GNU_CONFIGURE= # defined
-ALL_TARGET= libmpeg_lib.la
+USE_BUILDLINK2= YES
+USE_LIBTOOL= YES
+GNU_CONFIGURE= YES
+
+ALL_TARGET= libmpeg_lib.la
+
+CONFIGURE_ENV+= OPTIMIZE="${CFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}" \
+ EXTRA_CPPFLAGS="${CPPFLAGS}"
.include "../../mk/bsd.pkg.mk"