pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www Add links-xz option to www/links and www/links-gnu



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ac547080a3e
branches:  trunk
changeset: 598595:2ac547080a3e
user:      sbd <sbd%pkgsrc.org@localhost>
date:      Fri Jan 27 08:24:28 2012 +0000

description:
Add links-xz option to www/links and www/links-gnu

Bump PKGREVISIONs

diffstat:

 www/links-gui/Makefile |   3 ++-
 www/links/Makefile     |   3 ++-
 www/links/options.mk   |  12 +++++++++---
 3 files changed, 13 insertions(+), 5 deletions(-)

diffs (50 lines):

diff -r 17ee080e8d19 -r 2ac547080a3e www/links-gui/Makefile
--- a/www/links-gui/Makefile    Fri Jan 27 08:23:16 2012 +0000
+++ b/www/links-gui/Makefile    Fri Jan 27 08:24:28 2012 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.65 2011/11/28 15:05:32 wiz Exp $
+# $NetBSD: Makefile,v 1.66 2012/01/27 08:24:29 sbd Exp $
 #
 
 PKGNAME=       ${DISTNAME:S/links/&-gui/}
+PKGREVISION=   1
 COMMENT=       Lynx-like text and graphics WWW browser
 
 CONFLICTS+=    links-[0-9]* elinks-0.3*
diff -r 17ee080e8d19 -r 2ac547080a3e www/links/Makefile
--- a/www/links/Makefile        Fri Jan 27 08:23:16 2012 +0000
+++ b/www/links/Makefile        Fri Jan 27 08:24:28 2012 +0000
@@ -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 -r 17ee080e8d19 -r 2ac547080a3e www/links/options.mk
--- a/www/links/options.mk      Fri Jan 27 08:23:16 2012 +0000
+++ b/www/links/options.mk      Fri Jan 27 08:24:28 2012 +0000
@@ -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



Home | Main Index | Thread Index | Old Index