summaryrefslogtreecommitdiff
path: root/multimedia/gstreamer0.10
diff options
context:
space:
mode:
authorwiz <wiz>2011-03-08 17:05:17 +0000
committerwiz <wiz>2011-03-08 17:05:17 +0000
commit346b92e4dc6b64f9b5e7f7f240fe35ae24f7912c (patch)
treeac623c97ff296bf28a866593f072f183d6959fee /multimedia/gstreamer0.10
parent73134463d7d3caf114c60988273e013b36d8152e (diff)
downloadpkgsrc-346b92e4dc6b64f9b5e7f7f240fe35ae24f7912c.tar.gz
Testing for OPSYS can only happen _after_ the inclusion
of bsd.prefs.mk.
Diffstat (limited to 'multimedia/gstreamer0.10')
-rw-r--r--multimedia/gstreamer0.10/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/multimedia/gstreamer0.10/Makefile b/multimedia/gstreamer0.10/Makefile
index 51b452aee20..eaef7a6677b 100644
--- a/multimedia/gstreamer0.10/Makefile
+++ b/multimedia/gstreamer0.10/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2011/03/08 15:25:56 hiramatsu Exp $
+# $NetBSD: Makefile,v 1.41 2011/03/08 17:05:17 wiz Exp $
#
DISTNAME= gstreamer-0.10.32
@@ -25,9 +25,6 @@ CONFIGURE_ARGS+= --disable-examples
CONFIGURE_ARGS+= --disable-tests
CONFIGURE_ENV+= ac_cv_path_PYTHON=${TRUE:Q}
CONFIGURE_ENV+= ac_cv_path_XSLTPROC=${TRUE:Q}
-.if ${OPSYS} == "FreeBSD"
-CONFIGURE_ENV+= ac_cv_func_register_printf_function="no"
-.endif
BUILD_DEPENDS+= flex>=2.5.31:../../devel/flex
TOOLS_PLATFORM.flex= ${LOCALBASE}/bin/flex
@@ -47,6 +44,10 @@ PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer.pc.in
.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "FreeBSD"
+CONFIGURE_ENV+= ac_cv_func_register_printf_function="no"
+.endif
+
.if ${OPSYS} == "NetBSD"
# We must have a glib2 compiled with the RTLD_GLOBAL fix; if not, plugins
# won't work at all.