aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.cran.mk
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2011-04-30 15:16:53 +0800
committerbf <bf@FreeBSD.org>2011-04-30 15:16:53 +0800
commit27be54efba051e5c4c887aaff4d88936d498f9d7 (patch)
tree7c3c2b4660eb22875eda2b297694e34dd0ed1274 /Mk/bsd.cran.mk
parent8b1fa786d287991a5ca4f9fbb71705fb27ef83d7 (diff)
downloadfreebsd-ports-gnome-27be54efba051e5c4c887aaff4d88936d498f9d7.tar.gz
freebsd-ports-gnome-27be54efba051e5c4c887aaff4d88936d498f9d7.tar.zst
freebsd-ports-gnome-27be54efba051e5c4c887aaff4d88936d498f9d7.zip
In post-install-script, append to TMPPLIST
rather than overwriting it; also record any symlinks Approved by: wen
Diffstat (limited to 'Mk/bsd.cran.mk')
-rw-r--r--Mk/bsd.cran.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.cran.mk b/Mk/bsd.cran.mk
index 776c210e9067..8aee52c74f5b 100644
--- a/Mk/bsd.cran.mk
+++ b/Mk/bsd.cran.mk
@@ -42,8 +42,8 @@ do-install:
.if defined(USE_R_MOD) && defined(R_MOD_AUTOPLIST)
.if !target(post-install-script)
post-install-script:
- @${FIND} -ds ${PREFIX}/${R_MOD_DIR} -type f -print | ${SED} -E -e \
- 's,^${PREFIX}/?,,' > ${TMPPLIST}
+ @${FIND} -ds ${PREFIX}/${R_MOD_DIR} \( -type f -or -type l \) -print | \
+ ${SED} -E -e 's,^${PREFIX}/?,,' >> ${TMPPLIST}
@${FIND} -ds ${PREFIX}/${R_MOD_DIR} -type d -print | ${SED} -E -e \
's,^${PREFIX}/?,@dirrm ,' >> ${TMPPLIST}
.endif