summaryrefslogtreecommitdiff
path: root/print/libgnomeprint
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-12-14 22:35:35 +0000
committerjmmv <jmmv@pkgsrc.org>2003-12-14 22:35:35 +0000
commite9b0b458e1f94f09af3e90e4473c6c865f19943e (patch)
tree6ce26895dfffe5bb9c539b4bf573652c47840549 /print/libgnomeprint
parent5a82b689afcfa315c52d81028e86577bc07401b4 (diff)
downloadpkgsrc-e9b0b458e1f94f09af3e90e4473c6c865f19943e.tar.gz
Include bsd.prefs.mk and make sure USE_CUPS is defined before checking
its value. Pointed out by xtraeme@.
Diffstat (limited to 'print/libgnomeprint')
-rw-r--r--print/libgnomeprint/buildlink2.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/print/libgnomeprint/buildlink2.mk b/print/libgnomeprint/buildlink2.mk
index 53fc46cc493..0172b5a1a90 100644
--- a/print/libgnomeprint/buildlink2.mk
+++ b/print/libgnomeprint/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.11 2003/12/14 19:51:04 jmmv Exp $
+# $NetBSD: buildlink2.mk,v 1.12 2003/12/14 22:35:35 jmmv Exp $
#
# This Makefile fragment is included by packages that use libgnomeprint.
#
@@ -27,7 +27,10 @@ BUILDLINK_FILES.libgnomeprint+= lib/libgnomeprint/${PKGVERSION}/modules/transpor
.include "../../devel/pango/buildlink2.mk"
.include "../../graphics/freetype2/buildlink2.mk"
.include "../../graphics/libart2/buildlink2.mk"
-.if !empty(USE_CUPS:M[Yy][Ee][Ss])
+
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(USE_CUPS) && !empty(USE_CUPS:M[Yy][Ee][Ss])
.include "../../print/cups/buildlink2.mk"
.endif