tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PLIST_VARS
If I understand the intention and the comment in plist.mk correctly,
it's ${_var_} to be check if defined or not, not ${PLIST.${_var}}.
Masao
Index: mk/plist/plist.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/plist/plist.mk,v
retrieving revision 1.37
diff -u -d -r1.37 plist.mk
--- mk/plist/plist.mk 8 Apr 2008 20:52:15 -0000 1.37
+++ mk/plist/plist.mk 28 Apr 2008 03:08:52 -0000
@@ -163,7 +163,7 @@
PKGMANDIR=${PKGMANDIR:Q}
.for _var_ in ${PLIST_VARS}
-PLIST_SUBST+= ${PLIST.${_var_}:DPLIST.${_var_}=:UPLIST.${_var_}="@comment "}
+PLIST_SUBST+= ${${_var_}:DPLIST.${_var_}=:UPLIST.${_var_}="@comment "}
.endfor
# Pass the PLIST_SUBST substitutions to the subst.awk script by prepending
Home |
Main Index |
Thread Index |
Old Index