summaryrefslogtreecommitdiff
path: root/security/heimdal
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 /security/heimdal
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 'security/heimdal')
-rw-r--r--security/heimdal/buildlink3.mk11
1 files changed, 3 insertions, 8 deletions
diff --git a/security/heimdal/buildlink3.mk b/security/heimdal/buildlink3.mk
index 09c1379d12a..d9aa33fc528 100644
--- a/security/heimdal/buildlink3.mk
+++ b/security/heimdal/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.31 2006/12/12 21:52:37 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.32 2007/05/30 08:54:31 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
HEIMDAL_BUILDLINK3_MK:= ${HEIMDAL_BUILDLINK3_MK}+
@@ -20,13 +20,8 @@ BUILDLINK_PKGSRCDIR.heimdal?= ../../security/heimdal
BUILDLINK_INCDIRS.heimdal?= include/krb5
.endif # HEIMDAL_BUILDLINK3_MK
-.if !defined(PKG_BUILD_OPTIONS.heimdal)
-PKG_BUILD_OPTIONS.heimdal!= \
- cd ${BUILDLINK_PKGSRCDIR.heimdal} && \
- ${MAKE} show-var ${MAKEFLAGS} VARNAME=PKG_OPTIONS
-MAKEFLAGS+= PKG_BUILD_OPTIONS.heimdal=${PKG_BUILD_OPTIONS.heimdal:Q}
-.endif
-MAKEVARS+= PKG_BUILD_OPTIONS.heimdal
+pkgbase := heimdal
+.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.heimdal:Mldap)
. include "../../databases/openldap-client/buildlink3.mk"