summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-12-13 04:21:28 +0000
committerobache <obache@pkgsrc.org>2008-12-13 04:21:28 +0000
commit79b390692b3492b6dec475539065a11d789d816d (patch)
tree19de2aad4210d8c47a7ff9101332925433778cbb /www
parentefa5ffb2f0b9dd64cfaa3c283317369cc6694e72 (diff)
downloadpkgsrc-79b390692b3492b6dec475539065a11d789d816d.tar.gz
Modular Xorg support should not in w3m-img/Makefile.
It really depend on option of w3m.
Diffstat (limited to 'www')
-rw-r--r--www/w3m-img/Makefile4
-rw-r--r--www/w3m/options.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/www/w3m-img/Makefile b/www/w3m-img/Makefile
index ae5842882a2..7ab654dbe09 100644
--- a/www/w3m-img/Makefile
+++ b/www/w3m-img/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2008/03/05 18:01:50 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2008/12/13 04:21:28 obache Exp $
#
PKGNAME= w3m-img-${W3M_VERS}
@@ -16,6 +16,4 @@ USE_TOOLS+= msgfmt
# Enable image support.
_W3M_USE_IMAGE= YES
-BUILDLINK_DEPMETHOD.libXt?= build
-.include "../../x11/libXt/buildlink3.mk"
.include "../../www/w3m/Makefile.common"
diff --git a/www/w3m/options.mk b/www/w3m/options.mk
index 0559573c5fe..0d68cf9a335 100644
--- a/www/w3m/options.mk
+++ b/www/w3m/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2008/04/12 22:43:14 jlam Exp $
+# $NetBSD: options.mk,v 1.8 2008/12/13 04:21:28 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.w3m
PKG_SUPPORTED_OPTIONS= inet6 w3m-lynx-key w3m-m17n w3m-unicode
@@ -63,6 +63,8 @@ _W3M_IMAGELIB= ${_imagelib:C|^w3m-image-||}
USE_X11= YES
CONFIGURE_ARGS+= --enable-image=x11 --with-imagelib=${_W3M_IMAGELIB:Q}
PLIST.image= yes
+BUILDLINK_DEPMETHOD.libXt?= build
+. include "../../x11/libXt/buildlink3.mk"
. include "../../graphics/${_W3M_IMAGELIB}/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-image