summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2006-04-19 12:27:02 +0000
committerreed <reed@pkgsrc.org>2006-04-19 12:27:02 +0000
commit5146481be8e6a9b50c7c72de09e8b35a2a4d79fd (patch)
tree7dc520125095bbc6ae24a3ccbe6ece081b835f72 /x11
parent01dfb8244a2a3f3d6e89e59f3ee4c42b9ae18b6f (diff)
downloadpkgsrc-5146481be8e6a9b50c7c72de09e8b35a2a4d79fd.tar.gz
Check before redefining the target for creating symlink.
(Noticed warning that it was redefined in x11-links.)
Diffstat (limited to 'x11')
-rw-r--r--x11/compositeproto/builtin.mk7
-rw-r--r--x11/fixesproto/builtin.mk7
2 files changed, 12 insertions, 2 deletions
diff --git a/x11/compositeproto/builtin.mk b/x11/compositeproto/builtin.mk
index ca638d80db0..4bda60f587b 100644
--- a/x11/compositeproto/builtin.mk
+++ b/x11/compositeproto/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.1.1.1 2006/04/18 17:17:50 reed Exp $
+# $NetBSD: builtin.mk,v 1.2 2006/04/19 12:27:02 reed Exp $
BUILTIN_PKG:= compositeproto
@@ -55,6 +55,9 @@ USE_BUILTIN.compositeproto!= \
.endif
MAKEVARS+= USE_BUILTIN.compositeproto
+CHECK_BUILTIN.compositeproto?= no
+.if !empty(CHECK_BUILTIN.compositeproto:M[nN][oO])
+
# following so old pkg-config name compositeext.pc will be available
BUILDLINK_TARGETS+= compositeext-symlink-pc
@@ -65,3 +68,5 @@ compositeext-symlink-pc:
if ${TEST} -f $${src}; then \
${LN} -sf $${src} $${dst}; \
fi
+
+.endif # CHECK_BUILTIN.compositeproto
diff --git a/x11/fixesproto/builtin.mk b/x11/fixesproto/builtin.mk
index 2fcd1ae25a6..dc264340dfc 100644
--- a/x11/fixesproto/builtin.mk
+++ b/x11/fixesproto/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.2 2006/04/18 18:03:22 reed Exp $
+# $NetBSD: builtin.mk,v 1.3 2006/04/19 12:27:02 reed Exp $
BUILTIN_PKG:= fixesproto
@@ -55,6 +55,9 @@ USE_BUILTIN.fixesproto!= \
.endif
MAKEVARS+= USE_BUILTIN.fixesproto
+CHECK_BUILTIN.fixesproto?= no
+.if !empty(CHECK_BUILTIN.fixesproto:M[nN][oO])
+
# following so old pkg-config name fixesext.pc will be available
# this is temporary and can be removed once not used
BUILDLINK_TARGETS+= fixesext-symlink-pc
@@ -66,3 +69,5 @@ fixesext-symlink-pc:
if ${TEST} -f $${src}; then \
${LN} -sf $${src} $${dst}; \
fi
+
+.endif # CHECK_BUILTIN.fixesproto