summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2000-11-01 17:26:40 +0000
committeritojun <itojun@pkgsrc.org>2000-11-01 17:26:40 +0000
commit6e9c4fdef5edb8443d7af7dc014c6f388bc71691 (patch)
treec0271b900ad66821aa9f2fec4892b1a674145715
parent96d04dea2d2a5018a2d10088f116f143cc52655b (diff)
downloadpkgsrc-6e9c4fdef5edb8443d7af7dc014c6f388bc71691.tar.gz
use USE_LIBINTL and BUILD_DEPEND to devel/gettext.
-rw-r--r--www/lynx/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile
index cd8d3f9ed6a..aa1066cf4a1 100644
--- a/www/lynx/Makefile
+++ b/www/lynx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2000/09/09 19:40:24 fredb Exp $
+# $NetBSD: Makefile,v 1.31 2000/11/01 17:26:40 itojun Exp $
#
DISTNAME= lynx2.8.3rel.1
@@ -27,7 +27,8 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= fb@enteract.com
HOMEPAGE= http://lynx.browser.org/
-DEPENDS+= gettext>=0.10.35nb1:../../devel/gettext
+BUILD_DEPENDS+= msgfmt:../../devel/gettext
+USE_LIBINTL= yes
DIST_SUBDIR= lynx
EXTRACT_ONLY= ${DISTFILES:M*.tar.bz2}
@@ -96,7 +97,7 @@ post-configure:
${ECHO} 'SSL_DEFINES= -DUSE_SSL ${SSLINCS}') \
>> ${WRKSRC}/makefile
(${ECHO}; \
- ${ECHO} 'INTLLIB= ${LOCALBASE}/lib/libintl.a'; \
+ ${ECHO} 'INTLLIB= -L${LOCALBASE}/lib -lintl'; \
${ECHO} 'INTLDIR_CPPFLAGS= -I${LOCALBASE}/include') \
>> ${WRKSRC}/src/makefile