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 | 713b4394655f9ac9db904612a159505ae0548e69 (patch) | |
tree | 7dc520125095bbc6ae24a3ccbe6ece081b835f72 /x11/compositeproto | |
parent | da670ecfbffb6ec38675a8f9a0f10e077479f886 (diff) | |
download | pkgsrc-713b4394655f9ac9db904612a159505ae0548e69.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 |