Author: bdrewery
Date: Wed Feb 3 23:37:14 2016
New Revision: 295223
URL: https://svnweb.freebsd.org/changeset/base/295223
Log:
Don't let NLSLINKS contain itself.
Sponsored by: EMC / Isilon Storage Division
Modified:
head/share/mk/bsd.nls.mk
Modified: head/share/mk/bsd.nls.mk
==============================================================================
--- head/share/mk/bsd.nls.mk Wed Feb 3 23:30:17 2016 (r295222)
+++ head/share/mk/bsd.nls.mk Wed Feb 3 23:37:14 2016 (r295223)
@@ -73,6 +73,9 @@ SYMLINKS+= ${NLSSYMLINKS}
.for file in ${NLS}
NLSNAME_${file:T}= ${file:T:R}/${NLSNAME}.cat
.if defined(NLSLINKS_${file:R}) && !empty(NLSLINKS_${file:R})
+.if !empty(NLSLINKS_${file:R}:M${file:R})
+.error NLSLINKS_${file:R} contains itself: ${file:R}
+.endif
NLSLINKS+= ${file:R}
.endif
.for dst in ${NLSLINKS_${file:R}}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"