summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-05-30 08:54:28 +0000
committerrillig <rillig@pkgsrc.org>2007-05-30 08:54:28 +0000
commit7f125459d80717a6f65cde59fcdb87bf381dc2d8 (patch)
tree9cb9969faf287080cd815dc0b06866755f0b1994 /www
parent2b5e22ff4d29ce619700d81749ac6e868c997059 (diff)
downloadpkgsrc-7f125459d80717a6f65cde59fcdb87bf381dc2d8.tar.gz
Removed some code duplication from the buildlink3 files by using the new
pkg-build-options.mk procedure.
Diffstat (limited to 'www')
-rw-r--r--www/libwww/buildlink3.mk11
1 files changed, 3 insertions, 8 deletions
diff --git a/www/libwww/buildlink3.mk b/www/libwww/buildlink3.mk
index e437ca9283b..0a4b61de326 100644
--- a/www/libwww/buildlink3.mk
+++ b/www/libwww/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/12/12 21:52:37 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2007/05/30 08:54:31 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBWWW_BUILDLINK3_MK:= ${LIBWWW_BUILDLINK3_MK}+
@@ -19,13 +19,8 @@ BUILDLINK_PKGSRCDIR.libwww?= ../../www/libwww
.include "../../mk/bsd.fast.prefs.mk"
-.if !defined(PKG_BUILD_OPTIONS.libwww)
-PKG_BUILD_OPTIONS.libwww!= \
- cd ${BUILDLINK_PKGSRCDIR.libwww} && \
- ${MAKE} show-var ${MAKEFLAGS} VARNAME=PKG_OPTIONS
-MAKEFLAGS+= PKG_BUILD_OPTIONS.libwww=${PKG_BUILD_OPTIONS.libwww:Q}
-.endif
-MAKEVARS+= PKG_BUILD_OPTIONS.libwww
+pkgbase := libwww
+.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.libwww:Msocks4)
.include "../../net/socks4/buildlink3.mk"