aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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