aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2005-04-09 16:16:43 +0800
committerclsung <clsung@FreeBSD.org>2005-04-09 16:16:43 +0800
commitdf619fc2974423a0e33b74ce4b0a617bd910cc4d (patch)
tree76039d1889148fbfa4baf83a8b0ae36ef7f03ee0 /www
parent54dc662981663f540cfbf5aaca2b659f681696fc (diff)
downloadfreebsd-ports-gnome-df619fc2974423a0e33b74ce4b0a617bd910cc4d.tar.gz
freebsd-ports-gnome-df619fc2974423a0e33b74ce4b0a617bd910cc4d.tar.zst
freebsd-ports-gnome-df619fc2974423a0e33b74ce4b0a617bd910cc4d.zip
- fix perl path problem in configure
Diffstat (limited to 'www')
-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