summaryrefslogtreecommitdiff
path: root/net/wget/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/wget/Makefile')
-rw-r--r--net/wget/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/net/wget/Makefile b/net/wget/Makefile
index b0177b3da56..948a2195e7b 100644
--- a/net/wget/Makefile
+++ b/net/wget/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2003/03/18 22:59:52 jschauma Exp $
+# $NetBSD: Makefile,v 1.60 2003/03/22 12:06:16 jmmv Exp $
DISTNAME= wget-1.8.2
CATEGORIES= net
@@ -8,26 +8,29 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/wget/wget.html
COMMENT= Retrieve files from the 'net via HTTP and FTP
-USE_PERL5= build
-
BUILD_USES_MSGFMT= YES
+
+USE_PERL5= build
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
GNU_CONFIGURE= YES
USE_PKGLOCALEDIR= YES
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ENV+= RPATH_FLAG="${RPATH_FLAG}"
+
EGDIR= ${PREFIX}/share/examples/wget
CONF_FILES= ${EGDIR}/wgetrc ${PKG_SYSCONFDIR}/wgetrc
INFO_FILES= wget.info
-WGET_USE_SSL?= YES
+.include "../../mk/bsd.prefs.mk"
-.if ${WGET_USE_SSL} == YES
+BUILD_DEFS+= WGET_USE_SSL
+.if !empty(WGET_USE_SSL:M[Yy][Ee][Ss])
.include "../../security/openssl/buildlink2.mk"
CONFIGURE_ARGS+=--with-ssl=${SSLBASE}
.else