summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-10-04 19:45:58 +0000
committerrillig <rillig@pkgsrc.org>2006-10-04 19:45:58 +0000
commit00d338852ed6da0b22bda651e4507d45ee174e7d (patch)
tree443c1d1c5df2d9bb0a1dc695d8d8a8015c4f0ff0
parent77e2fd3088e2f954ab12e461bfbed01dd56a17a0 (diff)
downloadpkgsrc-00d338852ed6da0b22bda651e4507d45ee174e7d.tar.gz
Fixed some pkglint warnings.
-rw-r--r--www/libwww/Makefile16
-rw-r--r--www/libwww/options.mk6
2 files changed, 10 insertions, 12 deletions
diff --git a/www/libwww/Makefile b/www/libwww/Makefile
index b8a699552a9..dc2bf500bf0 100644
--- a/www/libwww/Makefile
+++ b/www/libwww/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2006/07/27 18:48:04 jlam Exp $
+# $NetBSD: Makefile,v 1.69 2006/10/04 19:45:58 rillig Exp $
DISTNAME= w3c-libwww-5.4.0
PKGNAME= libwww-5.4.0
@@ -18,7 +18,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
SITES.libwww-configure-5.4.0nb1.gz= ${MASTER_SITE_LOCAL}
-USE_TOOLS+= gmake perl
+USE_TOOLS+= gmake gzcat perl
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
@@ -30,21 +30,19 @@ CONFIGURE_ENV+= F77=${FALSE:Q}
.include "options.mk"
-DOCDIR= ${PREFIX}/share/doc/libwww
-
pre-configure:
- ${GZCAT} ${DISTDIR}/libwww-configure-5.4.0nb1.gz > ${WRKSRC}/configure
- ${CHMOD} a+x ${WRKSRC}/configure
+ gzcat ${DISTDIR}/libwww-configure-5.4.0nb1.gz > ${WRKSRC}/configure
+ chmod a+x ${WRKSRC}/configure
.for f in aclocal.m4 configure stamp-h.in
- ${TOUCH} ${WRKSRC}/${f}
+ touch ${WRKSRC}/${f}
.endfor
- ${TOUCH} `${FIND} ${WRKSRC} -name Makefile.in -print`
+ touch `${FIND} ${WRKSRC} -name Makefile.in -print`
.include "../../mk/bsd.prefs.mk"
.if empty(LOWER_OPSYS:Mirix5*)
# IRIX 5 does not have libregex
-CONFIGURE_ARGS+= --with-regex
+CONFIGURE_ARGS+= --with-regex
.endif
.if ${OPSYS} == "SunOS"
diff --git a/www/libwww/options.mk b/www/libwww/options.mk
index 68769031179..9e8ca87e139 100644
--- a/www/libwww/options.mk
+++ b/www/libwww/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2005/12/02 17:05:04 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2006/10/04 19:45:58 rillig Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libwww
PKG_OPTIONS_OPTIONAL_GROUPS+= socks
@@ -7,11 +7,11 @@ PKG_OPTIONS_GROUP.socks= socks4 socks5
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Msocks4)
-CONFIGURE_ARGS+= --with-socks4=${BUILDLINK_PREFIX.socks4}/lib/libsocks4.a
+CONFIGURE_ARGS+= --with-socks4=${BUILDLINK_PREFIX.socks4}/lib/libsocks4.a
CONFIGURE_ARGS+= --with-socks5=no
.include "../../net/socks4/buildlink3.mk"
.elif !empty(PKG_OPTIONS:Msocks5)
CONFIGURE_ARGS+= --with-socks4=no
-CONFIGURE_ARGS+= --with-socks5=${BUILDLINK_prefix.socks5}/lib/libsocks5.a
+CONFIGURE_ARGS+= --with-socks5=${BUILDLINK_PREFIX.socks5}/lib/libsocks5.a
.include "../../net/socks5/buildlink3.mk"
.endif