summaryrefslogtreecommitdiff
path: root/multimedia/gstreamer0.10
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-05-30 08:54:28 +0000
committerrillig <rillig@pkgsrc.org>2007-05-30 08:54:28 +0000
commit7f125459d80717a6f65cde59fcdb87bf381dc2d8 (patch)
tree9cb9969faf287080cd815dc0b06866755f0b1994 /multimedia/gstreamer0.10
parent2b5e22ff4d29ce619700d81749ac6e868c997059 (diff)
downloadpkgsrc-7f125459d80717a6f65cde59fcdb87bf381dc2d8.tar.gz
Removed some code duplication from the buildlink3 files by using the new
pkg-build-options.mk procedure.
Diffstat (limited to 'multimedia/gstreamer0.10')
-rw-r--r--multimedia/gstreamer0.10/buildlink3.mk9
1 files changed, 3 insertions, 6 deletions
diff --git a/multimedia/gstreamer0.10/buildlink3.mk b/multimedia/gstreamer0.10/buildlink3.mk
index f7898b59e80..f92b146cf66 100644
--- a/multimedia/gstreamer0.10/buildlink3.mk
+++ b/multimedia/gstreamer0.10/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2007/02/08 21:27:14 drochner Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2007/05/30 08:54:30 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GSTREAMER0.10_BUILDLINK3_MK:= ${GSTREAMER0.10_BUILDLINK3_MK}+
@@ -20,11 +20,8 @@ PRINT_PLIST_AWK+= /^@dirrm (include|lib)\/gstreamer-0.10(\/gst)?$$/ \
{ print "@comment in gstreamer0.10: " $$0; next; }
.endif # GSTREAMER0.10_BUILDLINK3_MK
-.if !defined(PKG_BUILD_OPTIONS.gstreamer)
-PKG_BUILD_OPTIONS.gstreamer!= \
- cd ${BUILDLINK_PKGSRCDIR.gstreamer0.10} && \
- ${MAKE} show-var ${MAKEFLAGS} VARNAME=PKG_OPTIONS
-.endif
+pkgbase := gstreamer
+.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.gstreamer:Mgstcheck)
.include "../../devel/check/buildlink3.mk"