summaryrefslogtreecommitdiff
path: root/www/lynx/Makefile
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-01-15 17:37:53 +0000
committerhubertf <hubertf>2000-01-15 17:37:53 +0000
commitbc29a107631790b66e007a8e67c70c51b5318ccb (patch)
tree91683b83e9947706d6e7b1f489b66512f9550456 /www/lynx/Makefile
parent10337b3516ed79b5eaf3cd70a081facb7ca22bf1 (diff)
downloadpkgsrc-bc29a107631790b66e007a8e67c70c51b5318ccb.tar.gz
Make this use IPv6. Also made sure to still work on 1.4.1. :)
Diffstat (limited to 'www/lynx/Makefile')
-rw-r--r--www/lynx/Makefile19
1 files changed, 18 insertions, 1 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile
index ab36f790ad4..8ec7cf9a208 100644
--- a/www/lynx/Makefile
+++ b/www/lynx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2000/01/01 17:11:27 mjl Exp $
+# $NetBSD: Makefile,v 1.24 2000/01/15 17:37:53 hubertf Exp $
#
DISTNAME= lynx2-8-2
@@ -24,9 +24,26 @@ CONFIGURE_ENV+= LIBS="-lm -ltermcap" CPPFLAGS="-Dunix -DNOPORT"
CONFIGURE_ENV+= LIBS="-lm -ltermcap" CPPFLAGS=-Dunix
.endif
+# The patches for this code are from the KAME project:
+# ftp://ftp.kame.net/pub/kame/misc/lynx-282-v6-19991008b.diff.gz
+.include "../../mk/bsd.prefs.mk"
+.if defined(USE_INET6) && ${USE_INET6} == YES
+CC+= -DINET6
+PATCHDIR= ${WRKDIR}/.patches
+.endif
+
+BUILD_DEFS+= USE_INET6
+
INSTALL_TARGET= install install-help
MAKEFILE= makefile
+pre-patch:
+.if defined(USE_INET6) && ${USE_INET6} == YES
+ ${MKDIR} ${WRKDIR}/.patches
+ ${CP} ${.CURDIR}/patches/patch-* ${WRKDIR}/.patches
+ ${CP} ${.CURDIR}/patches.v6/patch-* ${WRKDIR}/.patches
+.endif
+
post-install:
${RM} -rf ${PREFIX}/etc/lynx_doc
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/etc/lynx_help