pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/libgnomeprint Include bsd.prefs.mk and make sure...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a75a0fc97764
branches:  trunk
changeset: 464754:a75a0fc97764
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sun Dec 14 22:35:35 2003 +0000

description:
Include bsd.prefs.mk and make sure USE_CUPS is defined before checking
its value.  Pointed out by xtraeme@.

diffstat:

 print/libgnomeprint/buildlink2.mk |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 74d294f19c0d -r a75a0fc97764 print/libgnomeprint/buildlink2.mk
--- a/print/libgnomeprint/buildlink2.mk Sun Dec 14 22:30:51 2003 +0000
+++ b/print/libgnomeprint/buildlink2.mk Sun Dec 14 22:35:35 2003 +0000
@@ -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 @@
 .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
 



Home | Main Index | Thread Index | Old Index