summaryrefslogtreecommitdiff
path: root/www/libwww
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
committerjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
commit841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch)
treefdd67c81079412bf94013749a954125434a9baca /www/libwww
parent6874584eae20f517f70816571f6d4ac696db16b3 (diff)
downloadpkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'www/libwww')
-rw-r--r--www/libwww/Makefile10
-rw-r--r--www/libwww/PLIST4
2 files changed, 7 insertions, 7 deletions
diff --git a/www/libwww/Makefile b/www/libwww/Makefile
index d374951a1bf..46e3a27284b 100644
--- a/www/libwww/Makefile
+++ b/www/libwww/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2008/03/11 18:47:41 tnn Exp $
+# $NetBSD: Makefile,v 1.78 2008/04/12 22:43:13 jlam Exp $
DISTNAME= w3c-libwww-5.4.0
PKGNAME= libwww-5.4.0
@@ -47,16 +47,16 @@ pre-configure:
CONFIGURE_ARGS+= --with-regex
.endif
+PLIST_VARS+= md5
.if ${OPSYS} == "SunOS"
-# Solaris has a /usr/lib/libmd5 which seems to be enouth, and
+# Solaris has a /usr/lib/libmd5 which seems to be enough, and
# /usr/local/lib/libmd5 breaks /usr/lib/librt
-CONFIGURE_ARGS+= --without-md5
-PLIST_SUBST+= MD5LIB="@comment "
+CONFIGURE_ARGS+= --without-md5
.else
+PLIST.md5= yes
. if !exists(/usr/include/md5.h)
CONFIGURE_ARGS+= --with-md5=${SSLBASE:Q}
. endif
-PLIST_SUBST+= MD5LIB=""
.endif
.include "../../devel/zlib/buildlink3.mk"
diff --git a/www/libwww/PLIST b/www/libwww/PLIST
index 429f4e4ddcd..b843948d8e6 100644
--- a/www/libwww/PLIST
+++ b/www/libwww/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2005/05/31 20:52:00 salo Exp $
+@comment $NetBSD: PLIST,v 1.6 2008/04/12 22:43:13 jlam Exp $
bin/libwww-config
bin/w3c
bin/webbot
@@ -163,7 +163,7 @@ include/w3c-libwww/WWWZip.h
include/w3c-libwww/wwwsys.h
include/w3c-libwww/xmlparse.h
include/wwwconf.h
-${MD5LIB}lib/libmd5.la
+${PLIST.md5}lib/libmd5.la
lib/libpics.la
lib/libwwwapp.la
lib/libwwwcache.la