aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2014-01-13 13:41:30 +0800
committerjohans <johans@FreeBSD.org>2014-01-13 13:41:30 +0800
commit710d71182c006f249997ecbf6b450802e29e651f (patch)
tree19e1466d66f945b339e53c5a8a69e3a67be13c05 /textproc
parent8025680e617594a4f27f3041e06bc305d96cbd66 (diff)
downloadfreebsd-ports-gnome-710d71182c006f249997ecbf6b450802e29e651f.tar.gz
freebsd-ports-gnome-710d71182c006f249997ecbf6b450802e29e651f.tar.zst
freebsd-ports-gnome-710d71182c006f249997ecbf6b450802e29e651f.zip
Avoid running ranlib again during installation phase,
this fixes packaging as a regular user Submitted by: antoine
Diffstat (limited to 'textproc')
-rw-r--r--textproc/flex/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/textproc/flex/Makefile b/textproc/flex/Makefile
index eaf98b2fe92f..3654f5694ad4 100644
--- a/textproc/flex/Makefile
+++ b/textproc/flex/Makefile
@@ -30,6 +30,7 @@ NLS_CONFIGURE_ENABLE= nls
post-patch: .SILENT
${REINPLACE_CMD} -Ee 's/tests//' \
-e 's/^([[:space:]]*)\$$\(RANLIB\) ([^ ;]*)/\1chmod u+w \2;&/' \
+ -e '/echo.*RANLIB/,+1d' \
${WRKSRC}/Makefile.in
${REINPLACE_CMD} -e 's/@MAKEINFO@/& --no-split/g' \
${WRKSRC}/doc/Makefile.in