diff options
author | eadler <eadler@FreeBSD.org> | 2013-11-12 07:11:16 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2013-11-12 07:11:16 +0800 |
commit | eaaf3c9151fb0a41dac8b46dda81ee013022874f (patch) | |
tree | 1c895f19924692c98c10bd6ba442bf7d5d548f03 /Mk/Uses | |
parent | a3e65a0a544a484bc578278aff0a2c0e83412aef (diff) | |
download | freebsd-ports-gnome-eaaf3c9151fb0a41dac8b46dda81ee013022874f.tar.gz freebsd-ports-gnome-eaaf3c9151fb0a41dac8b46dda81ee013022874f.tar.zst freebsd-ports-gnome-eaaf3c9151fb0a41dac8b46dda81ee013022874f.zip |
Make Uses/npapi.mk STAGEDIR safe.
This was tested by commenting out poudriere's leftover testing and using this file with linux-f10-flash.
Approved by: bapt
Diffstat (limited to 'Mk/Uses')
-rw-r--r-- | Mk/Uses/npapi.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Mk/Uses/npapi.mk b/Mk/Uses/npapi.mk index 614bec250661..50516f665ff0 100644 --- a/Mk/Uses/npapi.mk +++ b/Mk/Uses/npapi.mk @@ -164,11 +164,11 @@ PLIST_DIRS+= ${NPAPI_DIRS_${dist}:S!^!${_TD_${dist}}/!} ${_TD_${dist}} .endfor npapi-do-install: - ${INSTALL} -d ${_TD_FULL} ${STAGEDIR}${NPAPI_SLDIRS_ALL} - ${CP} -p ${NPAPI_FILES:S,^,${NPAPI_WRKSRC}/,} ${_TD_FULL}/ - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${_TD_FULL}/ - ${CHMOD} -R a+rX,go-w ${_TD_FULL}/ - for _dir in ${NPAPI_LINKFARMS} ; { ${LN} -sf ${_TD_FULL}/* $$_dir ${_Q} ; } + ${INSTALL} -d ${STAGEDIR}${_TD_FULL} ${NPAPI_SLDIRS_ALL:S.^.${STAGEDIR}/.} + ${CP} -p ${NPAPI_FILES:S,^,${NPAPI_WRKSRC}/,} ${STAGEDIR}${_TD_FULL}/ + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${_TD_FULL}/ + ${CHMOD} -R a+rX,go-w ${STAGEDIR}${_TD_FULL}/ + for _dir in ${NPAPI_LINKFARMS} ; { ${LN} -sf ${_TD_FULL}/* ${STAGEDIR}$$_dir ${_Q} ; } ${ECHO_CMD} '${INSTALL} -d ${NPAPI_SLDIRS_ALL}' > ${_PI} ${ECHO_CMD} 'for _dir in ${NPAPI_LINKFARMS} ; \ { ${LN} -sf ${NPAPI_FILES:S,^,${_TD_FULL}/,} $$_dir/ ${_Q}; }' >> ${_PI} |