diff options
author | reed <reed@pkgsrc.org> | 2006-04-19 12:27:02 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2006-04-19 12:27:02 +0000 |
commit | 5146481be8e6a9b50c7c72de09e8b35a2a4d79fd (patch) | |
tree | 7dc520125095bbc6ae24a3ccbe6ece081b835f72 /x11/compositeproto | |
parent | 01dfb8244a2a3f3d6e89e59f3ee4c42b9ae18b6f (diff) | |
download | pkgsrc-5146481be8e6a9b50c7c72de09e8b35a2a4d79fd.tar.gz |
Check before redefining the target for creating symlink.
(Noticed warning that it was redefined in x11-links.)
Diffstat (limited to 'x11/compositeproto')
-rw-r--r-- | x11/compositeproto/builtin.mk | 7 |
1 files changed, 6 insertions, 1 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 |