Discussion:
Recent warnings.
(too old to reply)
Sean Bruno
2018-05-05 00:09:26 UTC
Permalink
make[3]: "/usr/src/share/mk/bsd.prog.mk" line 274: warning: duplicate
script for target "_scriptsinstall" ignored
make[3]: "/usr/src/share/mk/bsd.prog.mk" line 274: warning: using
previous script for "_scriptsinstall" defined here


This popped up on me this week. Anyone see what's going on?

sean
Herbert J. Skuhra
2018-05-05 09:06:56 UTC
Permalink
Post by Sean Bruno
make[3]: "/usr/src/share/mk/bsd.prog.mk" line 274: warning: duplicate
script for target "_scriptsinstall" ignored
make[3]: "/usr/src/share/mk/bsd.prog.mk" line 274: warning: using
previous script for "_scriptsinstall" defined here
This popped up on me this week. Anyone see what's going on?
This is obviously caused by this change:

Index: share/mk/bsd.prog.mk
===================================================================
--- share/mk/bsd.prog.mk (revision 333235)
+++ share/mk/bsd.prog.mk (revision 333236)
@@ -271,6 +271,7 @@
SCRIPTSMODE_${script:T}?= ${SCRIPTSMODE}
STAGE_AS_${script:T}= ${SCRIPTSDIR_${script:T}}/${SCRIPTSNAME_${script:T}}
_scriptsinstall: _SCRIPTSINS_${script:T}
+ echo ">SFD>F>DF YES"
_SCRIPTSINS_${script:T}: ${script}
${INSTALL} ${TAG_ARGS} -o ${SCRIPTSOWN_${.ALLSRC:T}} \
-g ${SCRIPTSGRP_${.ALLSRC:T}} -m ${SCRIPTSMODE_${.ALLSRC:T}} \
--
Herbert
Continue reading on narkive:
Loading...