aboutsummaryrefslogtreecommitdiff
path: root/www/snownews/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/snownews/Makefile')
-rw-r--r--www/snownews/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/snownews/Makefile b/www/snownews/Makefile
index 4781ecd632fd..73262f3e16cf 100644
--- a/www/snownews/Makefile
+++ b/www/snownews/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= clsung@FreeBSD.org
COMMENT= A text mode RSS newsreader
USE_PERL5_BUILD=yes
-USE_GMAKE= yes
+USES= gmake iconv
USE_GNOME= libxml2
HAS_CONFIGURE= yes
@@ -44,6 +44,7 @@ MANLANG= "" de nl fr it ru_RU.KOI8-R
post-patch:
@${REINPLACE_CMD} -e 's|#!/usr/local/bin/perl|#!${PERL}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|ncurses|ncursesw|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB}|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|make|${GMAKE}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/Makefile