summaryrefslogtreecommitdiff
path: root/graphics/xpm
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-09-30 10:18:57 +0000
committerjlam <jlam@pkgsrc.org>2003-09-30 10:18:57 +0000
commit7eb7f3c7a56cda70582ca393dc18f40340c2b615 (patch)
treeb05953a73f1fb8935d16765bde58719aa3b003e4 /graphics/xpm
parent8da12239527b11eefe8fb27d9af3c1deea6a8d66 (diff)
downloadpkgsrc-7eb7f3c7a56cda70582ca393dc18f40340c2b615.tar.gz
Match the buildlink3.mk guidelines set out in revision 1.22 of
bsd.buildlink3.mk.
Diffstat (limited to 'graphics/xpm')
-rw-r--r--graphics/xpm/buildlink3.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/graphics/xpm/buildlink3.mk b/graphics/xpm/buildlink3.mk
index 26f177e07b3..de74fd43b92 100644
--- a/graphics/xpm/buildlink3.mk
+++ b/graphics/xpm/buildlink3.mk
@@ -1,12 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.6 2003/09/30 00:42:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2003/09/30 10:18:57 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+XPM_BUILDLINK3_MK:= ${XPM_BUILDLINK3_MK}+
.include "../../mk/bsd.prefs.mk"
-.if !defined(XPM_BUILDLINK3_MK)
-XPM_BUILDLINK3_MK= YES
-
+.if !empty(XPM_BUILDLINK3_MK:M\+)
BUILDLINK_DEPENDS.xpm?= xpm>=3.4k
BUILDLINK_PKGSRCDIR.xpm?= ../../graphics/xpm
.endif # XPM_BUILDLINK3_MK
@@ -79,7 +78,7 @@ BUILDLINK_DEPENDS+= xpm
. endif
.endif
-.if !defined(XPM_BUILDLINK3_MK)
+.if !empty(XPM_BUILDLINK3_MK:M\+)
. if ${_NEED_XPM} == "YES"
BUILDLINK_PACKAGES+= xpm
. else