summaryrefslogtreecommitdiff
path: root/multimedia/gstreamer0.10
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-03-08 17:05:17 +0000
committerwiz <wiz@pkgsrc.org>2011-03-08 17:05:17 +0000
commitc7cbba6c0d0f0a66d47de7f1f095654753813c85 (patch)
treeac623c97ff296bf28a866593f072f183d6959fee /multimedia/gstreamer0.10
parenta96f3fd0233f806db680c644234b17b24846d1d6 (diff)
downloadpkgsrc-c7cbba6c0d0f0a66d47de7f1f095654753813c85.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.