summaryrefslogtreecommitdiff
path: root/x11/gtk2
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 /x11/gtk2
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 'x11/gtk2')
-rw-r--r--x11/gtk2/buildlink3.mk11
1 files changed, 3 insertions, 8 deletions
diff --git a/x11/gtk2/buildlink3.mk b/x11/gtk2/buildlink3.mk
index 8a5074024d5..3db26c87d0b 100644
--- a/x11/gtk2/buildlink3.mk
+++ b/x11/gtk2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.37 2007/05/25 21:53:00 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.38 2007/05/30 08:54:31 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTK2_BUILDLINK3_MK:= ${GTK2_BUILDLINK3_MK}+
@@ -26,13 +26,8 @@ PRINT_PLIST_AWK+= /^@dirrm lib\/gtk-2.0\/2.10.0\/(engines|filesystems|immodules|
.include "../../mk/bsd.fast.prefs.mk"
-.if !defined(PKG_BUILD_OPTIONS.gtk2)
-PKG_BUILD_OPTIONS.gtk2!= \
- cd ${BUILDLINK_PKGSRCDIR.gtk2} && \
- ${MAKE} show-var ${MAKEFLAGS} VARNAME=PKG_OPTIONS
-MAKEFLAGS+= PKG_BUILD_OPTIONS.gtk2=${PKG_BUILD_OPTIONS.gtk2:Q}
-.endif
-MAKEVARS+= PKG_BUILD_OPTIONS.gtk2
+pkgbase := gtk2
+.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.gtk2:Mx11)
.include "../../x11/libXcursor/buildlink3.mk"