summaryrefslogtreecommitdiff
path: root/www/lynx
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2003-09-14 19:03:27 +0000
committerjschauma <jschauma@pkgsrc.org>2003-09-14 19:03:27 +0000
commit38b1c7aa505b61f2d40c0b29034c525960ce396a (patch)
tree08b79526b2b8c5efc1e34713e36c720facdde4e1 /www/lynx
parent44917e36b87aad55116c8becf5a471a2bbef4acc (diff)
downloadpkgsrc-38b1c7aa505b61f2d40c0b29034c525960ce396a.tar.gz
Allow this to compile on Irix by not enabling nls on that platform.
Diffstat (limited to 'www/lynx')
-rw-r--r--www/lynx/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile
index f10f74f1560..33fb09552c3 100644
--- a/www/lynx/Makefile
+++ b/www/lynx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2003/07/17 22:55:40 grant Exp $
+# $NetBSD: Makefile,v 1.58 2003/09/14 19:03:27 jschauma Exp $
#
DISTNAME= lynx2.8.4rel.1
@@ -35,11 +35,16 @@ MAKEFILE= makefile
BUILD_DEFS+= LYNX_SCREEN_LIB USE_SOCKS USE_INET6
+.include "../../mk/bsd.prefs.mk"
+
# For nls/gettext
-CONFIGURE_ARGS+= --enable-nls
CONFIGURE_ARGS+= --with-nls-datadir=${PREFIX}/share
CONFIGURE_ARGS+= --without-included-gettext
+.if ${OPSYS} != "IRIX"
+CONFIGURE_ARGS+= --enable-nls
+.endif
+
# With SSL, lynx can get https:// and snews:// URL's.
CONFIGURE_ARGS+= --with-ssl
@@ -69,8 +74,6 @@ pre-install:
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/lynx
-.include "../../mk/bsd.prefs.mk"
-
.if (${LYNX_SCREEN_LIB} == slang)
. include "../../devel/libslang/buildlink2.mk"
.elif (${LYNX_SCREEN_LIB} == ncurses)