aboutsummaryrefslogtreecommitdiff
path: root/www/snownews
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2005-04-09 08:16:43 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2005-04-09 08:16:43 +0000
commitd50839996f381ef056669b9fd042f4780c3cd023 (patch)
tree406044a987de025d9b01c2b18241e0e8d5157890 /www/snownews
parentf8364520cc9b56f249b00dd1a4c018f81304ed08 (diff)
downloadports-d50839996f381ef056669b9fd042f4780c3cd023.tar.gz
ports-d50839996f381ef056669b9fd042f4780c3cd023.zip
Notes
Diffstat (limited to 'www/snownews')
-rw-r--r--www/snownews/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/snownews/Makefile b/www/snownews/Makefile
index 7ca532082f15..24dffe1fe11b 100644
--- a/www/snownews/Makefile
+++ b/www/snownews/Makefile
@@ -39,6 +39,9 @@ pre-everything::
@${ECHO_MSG} " Default is ISO-8859-1."
@${ECHO_MSG} " "
+pre-configure:
+ @${REINPLACE_CMD} -e 's|#!/usr/bin/perl|#!/usr/bin/env perl|g' ${WRKSRC}/configure
+
post-patch:
@${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS+=|g' ${WRKSRC}/platform_settings
@${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/Makefile