summaryrefslogtreecommitdiff
path: root/x11/xcursor/builtin.mk
diff options
context:
space:
mode:
authorjlam <jlam>2004-03-16 17:40:54 +0000
committerjlam <jlam>2004-03-16 17:40:54 +0000
commitd5e237f44bc923ec9ed591ad9514fdcd1102dd0f (patch)
tree88c2b32f047f386fd7c1872ab124127ad47f1496 /x11/xcursor/builtin.mk
parent4a3fc823f837036a8e14b5d6fd99183a5af2a604 (diff)
downloadpkgsrc-d5e237f44bc923ec9ed591ad9514fdcd1102dd0f.tar.gz
Manipulate the buildlink depth so that libiconv and Xfixes aren't added
to BUILDLINK_DEPENDS unless their respective buildlink3.mk files are included by the top-level Makefile.
Diffstat (limited to 'x11/xcursor/builtin.mk')
-rw-r--r--x11/xcursor/builtin.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/xcursor/builtin.mk b/x11/xcursor/builtin.mk
index 817c2d7c25b..56563881777 100644
--- a/x11/xcursor/builtin.mk
+++ b/x11/xcursor/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.1 2004/03/10 17:57:15 jlam Exp $
+# $NetBSD: builtin.mk,v 1.2 2004/03/16 17:40:54 jlam Exp $
_X11_XCURSOR_XCURSOR_H= ${X11BASE}/include/X11/Xcursor/Xcursor.h
@@ -56,7 +56,9 @@ BUILDLINK_DEPENDS.xcursor+= xcursor>=1.1.1
BUILDLINK_DEPENDS.Xrender+= Xrender>=0.8
. for _mkfile_ in buildlink3.mk builtin.mk
. if exists(../../x11/Xfixes/${_mkfile_})
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
. include "../../x11/Xfixes/${_mkfile_}"
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
. endif
. endfor
.endif