summaryrefslogtreecommitdiff
path: root/print/libgnomeprint
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
commit27cc9a95c82a77251467fcfd054aad5ecbbb8ee1 (patch)
tree9cb9969faf287080cd815dc0b06866755f0b1994 /print/libgnomeprint
parent46739e3a4ffd41c6d56048af7e33f79472b8f715 (diff)
downloadpkgsrc-27cc9a95c82a77251467fcfd054aad5ecbbb8ee1.tar.gz
Removed some code duplication from the buildlink3 files by using the new
pkg-build-options.mk procedure.
Diffstat (limited to 'print/libgnomeprint')
-rw-r--r--print/libgnomeprint/buildlink3.mk11
1 files changed, 3 insertions, 8 deletions
diff --git a/print/libgnomeprint/buildlink3.mk b/print/libgnomeprint/buildlink3.mk
index 6daba76a4f8..1400221b45b 100644
--- a/print/libgnomeprint/buildlink3.mk
+++ b/print/libgnomeprint/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/12/12 21:52:37 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2007/05/30 08:54:31 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGNOMEPRINT_BUILDLINK3_MK:= ${LIBGNOMEPRINT_BUILDLINK3_MK}+
@@ -26,13 +26,8 @@ BUILDLINK_PKGSRCDIR.libgnomeprint?= ../../print/libgnomeprint
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/libart2/buildlink3.mk"
-.if !defined(PKG_BUILD_OPTIONS.libgnomeprint)
-PKG_BUILD_OPTIONS.libgnomeprint!= \
- cd ${BUILDLINK_PKGSRCDIR.libgnomeprint} && \
- ${MAKE} show-var ${MAKEFLAGS} VARNAME=PKG_OPTIONS
-MAKEFLAGS+= PKG_BUILD_OPTIONS.libgnomeprint=${PKG_BUILD_OPTIONS.libgnomeprint:Q}
-.endif
-MAKEVARS+= PKG_BUILD_OPTIONS.libgnomeprint
+pkgbase := libgnomeprint
+.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.libgnomeprint:Mcups)
. include "../../print/libgnomecups/buildlink3.mk"