pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/lynx Allow this to compile on Irix by not enabling...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/601a4c7c8418
branches:  trunk
changeset: 461351:601a4c7c8418
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Sun Sep 14 19:03:27 2003 +0000

description:
Allow this to compile on Irix by not enabling nls on that platform.

diffstat:

 www/lynx/Makefile |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 5600e3d48e3e -r 601a4c7c8418 www/lynx/Makefile
--- a/www/lynx/Makefile Sun Sep 14 18:13:48 2003 +0000
+++ b/www/lynx/Makefile Sun Sep 14 19:03:27 2003 +0000
@@ -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 @@
 
 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 @@
 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)



Home | Main Index | Thread Index | Old Index