diff options
author | Johan van Selst <johans@FreeBSD.org> | 2010-02-26 08:12:39 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2010-02-26 08:12:39 +0000 |
commit | 2b037ad5fb934f204060f71f323f3f0964b8ffe6 (patch) | |
tree | 40503f742ac7f3ced2fae4343294bbe74c9677c9 /textproc/flex | |
parent | d8a09c1d178b10dd57fedc28713f16cd1b50364b (diff) | |
download | ports-2b037ad5fb934f204060f71f323f3f0964b8ffe6.tar.gz ports-2b037ad5fb934f204060f71f323f3f0964b8ffe6.zip |
Fix port installation for the INSTALL_AS_USER case.
This doesn't affect regular (root) installs.
PR: ports/143933
Submitted by: gerald
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=250354
Diffstat (limited to 'textproc/flex')
-rw-r--r-- | textproc/flex/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/textproc/flex/Makefile b/textproc/flex/Makefile index e82a8110767a..0bc8100316d1 100644 --- a/textproc/flex/Makefile +++ b/textproc/flex/Makefile @@ -36,7 +36,9 @@ PLIST_SUB+= NLS="@comment " .endif post-patch: .SILENT - ${REINPLACE_CMD} -e 's/tests//' ${WRKSRC}/Makefile.in + ${REINPLACE_CMD} -e 's/tests//' \ + -e 's/^([[:space:]]*)\$$\(RANLIB\) ([^ ;]*)/\1chmod u+w \2;&/' \ + ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e 's/@MAKEINFO@/& --no-split/g' \ ${WRKSRC}/doc/Makefile.in ${RM} -f ${WRKSRC}/doc/*.info* |