summaryrefslogtreecommitdiff
path: root/graphics/mpeg-lib
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-06-12 13:00:08 +0000
committersalo <salo@pkgsrc.org>2003-06-12 13:00:08 +0000
commit906f6492e839009eed9faba9a77de2cbd5e990c3 (patch)
tree84a5d49edfc61c44d9af8ff4c7ff56f1fcc9c8fb /graphics/mpeg-lib
parent8142bee5e0b814771ef2dcc1315d916ca51b10ee (diff)
downloadpkgsrc-906f6492e839009eed9faba9a77de2cbd5e990c3.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"