diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-04-27 16:53:29 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-04-27 16:53:29 +0000 |
commit | 360cd76225144ce870bc51b705125e4516b215cf (patch) | |
tree | 09c6e3c5a553371a4c35769a4b3c59c1bc51c811 /Mk | |
parent | create USES=gem and update rubygem- ports to use it (diff) |
Don't abuse an existing target and create our own.
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=414119
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/gem.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Mk/Uses/gem.mk b/Mk/Uses/gem.mk index 4953b9df6dc3..2ff912890182 100644 --- a/Mk/Uses/gem.mk +++ b/Mk/Uses/gem.mk @@ -123,8 +123,8 @@ do-install: .endif .if ${gem_ARGS} == "autoplist" -.if !target(post-install-script) -post-install-script: +_USES_install+= 820:gem-autoplist +gem-autoplist: @${ECHO} ${GEM_SPEC} >> ${TMPPLIST} .if !defined(NOPORTDOCS) @${FIND} -ds ${STAGEDIR}${PREFIX}/${DOC_DIR} -type f -print | ${SED} -E -e \ @@ -136,7 +136,6 @@ post-install-script: ${FIND} -ds ${STAGEDIR}${PREFIX}/${EXT_DIR} -type f -print | ${SED} -E -e \ 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST} ; \ fi -.endif .else IGNORE= Incorrect 'USES+=gem:${gem_ARGS}' expecting 'USES+=gem[:autoplist]' .endif |