From 84b05469102685e6cbbd211655b2f4abec1506cb Mon Sep 17 00:00:00 2001 From: mm Date: Thu, 5 Aug 2010 19:30:24 +0000 Subject: Add optional IPv6 support PR: ports/149302 Approved by: demon@FreeBSD.org (maintainer) --- www/links/Makefile | 11 +++++++++-- www/links/distinfo | 3 +++ 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'www/links') diff --git a/www/links/Makefile b/www/links/Makefile index c953c1c4929b..3ddd89e011c9 100644 --- a/www/links/Makefile +++ b/www/links/Makefile @@ -7,7 +7,7 @@ PORTNAME= links DISTVERSION= 2.2 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES?= www MASTER_SITES= http://links.twibright.com/download/ @@ -33,6 +33,7 @@ USE_BZIP2= yes OPTIONS= SVGALIB "non-X11 graphics support" off \ DIRECTFB "directfb driver support" off \ + IPV6 "IPv6 support" off \ X11 "X11 graphics support" on \ UTF8 "With gentoo utf-8 patch" on \ TRANS "Hack for background transparency" off @@ -62,6 +63,12 @@ CONFIGURE_ARGS+= --with-directfb CONFIGURE_ARGS+= --without-directfb .endif +.if defined(WITH_IPV6) +USE_AUTOTOOLS+= autoconf:262 +PATCH_SITES+= http://xpisar.wz.cz/links-ipv6/:ipv6 +PATCHFILES+= links-2.2-ipv6-2.diff:ipv6 +.endif + .if !defined(WITHOUT_X11) USE_XORG= x11 xproto CONFIGURE_ARGS+= --with-x @@ -77,7 +84,7 @@ CONFIGURE_ARGS+= --without-x .endif .if defined(WITH_UTF8) -PATCHFILES= links-2.1pre33-utf8.diff.bz2 +PATCHFILES+= links-2.1pre33-utf8.diff.bz2 pre-configure: pwd && cd ${WRKSRC}/intl && ./gen-intl && ./synclang && cd .. .endif diff --git a/www/links/distinfo b/www/links/distinfo index cc45ac349b71..188f73d04790 100644 --- a/www/links/distinfo +++ b/www/links/distinfo @@ -1,6 +1,9 @@ MD5 (links-2.2.tar.bz2) = bf5b20529a2a811701c5af52b28ebdd4 SHA256 (links-2.2.tar.bz2) = d3c60ff425bec5aacd1b15578a643c03090ad73fbb404f6ce8ee8c6219bdbc6d SIZE (links-2.2.tar.bz2) = 3832115 +MD5 (links-2.2-ipv6-2.diff) = f76999222cc72ae723b3077fe8a73568 +SHA256 (links-2.2-ipv6-2.diff) = d6d6745796f07ab8949ceec6592e82c32a170739027f99488ffd5f1d93a5e63c +SIZE (links-2.2-ipv6-2.diff) = 12524 MD5 (links-2.1pre33-utf8.diff.bz2) = 82ba3c492079f8664743ce03446433a3 SHA256 (links-2.1pre33-utf8.diff.bz2) = a34de30b787e6bab984cd5000c7a576f157437f622e9fe3a076808769a56db75 SIZE (links-2.1pre33-utf8.diff.bz2) = 4793 -- cgit