summaryrefslogtreecommitdiff
path: root/www/links
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-01-27 08:24:28 +0000
committersbd <sbd@pkgsrc.org>2012-01-27 08:24:28 +0000
commit107759058bd8520800ef8a6490cdcfedf138952c (patch)
tree18a4f9802b2549e6185cecb27c48a37c84d7d832 /www/links
parent212c702462309361a941987207fdca30a58e2bef (diff)
downloadpkgsrc-107759058bd8520800ef8a6490cdcfedf138952c.tar.gz
Add links-xz option to www/links and www/links-gnu
Bump PKGREVISIONs
Diffstat (limited to 'www/links')
-rw-r--r--www/links/Makefile3
-rw-r--r--www/links/options.mk12
2 files changed, 11 insertions, 4 deletions
diff --git a/www/links/Makefile b/www/links/Makefile
index c32cce4c7bd..84fcd4f7d9d 100644
--- a/www/links/Makefile
+++ b/www/links/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.57 2010/12/02 16:00:38 wiz Exp $
+# $NetBSD: Makefile,v 1.58 2012/01/27 08:24:28 sbd Exp $
#
COMMENT= Lynx-like text WWW browser
+PKGREVISION= 1
CONFLICTS+= links-gui-[0-9]* elinks-0.3*
diff --git a/www/links/options.mk b/www/links/options.mk
index 26ca0bc41b0..62a44cf4c56 100644
--- a/www/links/options.mk
+++ b/www/links/options.mk
@@ -1,11 +1,17 @@
-# $NetBSD: options.mk,v 1.1 2007/10/16 17:12:23 bjs Exp $
+# $NetBSD: options.mk,v 1.2 2012/01/27 08:24:28 sbd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.links
-PKG_SUPPORTED_OPTIONS= bzip2 links-zlib
-PKG_SUGGESTED_OPTIONS= bzip2 links-zlib
+PKG_SUPPORTED_OPTIONS= bzip2 links-zlib links-xz
+PKG_SUGGESTED_OPTIONS= bzip2 links-zlib links-xz
.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mlinks-xz)
+. include "../../archivers/xz/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-lzma
+.endif
+
.if !empty(PKG_OPTIONS:Mbzip2)
. include "../../archivers/bzip2/buildlink3.mk"
.else