pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/libwww Fixed some pkglint warnings.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5fd5088142c3
branches:  trunk
changeset: 519504:5fd5088142c3
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Oct 04 19:45:58 2006 +0000

description:
Fixed some pkglint warnings.

diffstat:

 www/libwww/Makefile   |  16 +++++++---------
 www/libwww/options.mk |   6 +++---
 2 files changed, 10 insertions(+), 12 deletions(-)

diffs (68 lines):

diff -r 8cb368c03cc4 -r 5fd5088142c3 www/libwww/Makefile
--- a/www/libwww/Makefile       Wed Oct 04 19:45:21 2006 +0000
+++ b/www/libwww/Makefile       Wed Oct 04 19:45:58 2006 +0000
@@ -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 @@
 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 @@
 
 .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 -r 8cb368c03cc4 -r 5fd5088142c3 www/libwww/options.mk
--- a/www/libwww/options.mk     Wed Oct 04 19:45:21 2006 +0000
+++ b/www/libwww/options.mk     Wed Oct 04 19:45:58 2006 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index