Fixed some pkglint warnings.
This commit is contained in:
parent
77e2fd3088
commit
00d338852e
2 changed files with 10 additions and 12 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue