From df619fc2974423a0e33b74ce4b0a617bd910cc4d Mon Sep 17 00:00:00 2001 From: clsung Date: Sat, 9 Apr 2005 08:16:43 +0000 Subject: - fix perl path problem in configure --- www/snownews/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'www/snownews/Makefile') 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 -- cgit