summaryrefslogtreecommitdiff
path: root/mk/djbware.mk
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2006-04-02 17:40:19 +0000
committerschmonz <schmonz@pkgsrc.org>2006-04-02 17:40:19 +0000
commitab66d835c3ef96a310e6231c11ac1974e7d48c38 (patch)
tree3c9843442c397ddeab8397687a982ac6f3edabe0 /mk/djbware.mk
parent2076a627bb425a73beb64214033e18a36612e6a5 (diff)
downloadpkgsrc-ab66d835c3ef96a310e6231c11ac1974e7d48c38.tar.gz
Add DJB_BUILD_ARGS for DJB_SLASHPACKAGE packages that can make use
of them, such as net/ucspi-ssl.
Diffstat (limited to 'mk/djbware.mk')
-rw-r--r--mk/djbware.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/djbware.mk b/mk/djbware.mk
index dded0554f97..d3ce82b1f5c 100644
--- a/mk/djbware.mk
+++ b/mk/djbware.mk
@@ -1,4 +1,4 @@
-# $NetBSD: djbware.mk,v 1.15 2006/01/21 10:10:42 rillig Exp $
+# $NetBSD: djbware.mk,v 1.16 2006/04/02 17:40:19 schmonz Exp $
#
# Makefile fragment for packages with djb-style build machinery
#
@@ -33,6 +33,7 @@ DJB_INSTALL_TARGETS?= # empty
DJB_SLASHPACKAGE?= NO
.if !empty(DJB_SLASHPACKAGE:M[yY][eE][sS])
DJB_CONFIG_DIR?= ${WRKSRC}/src
+DJB_BUILD_ARGS?= # empty
.else
DJB_CONFIG_DIR?= ${WRKSRC}
.endif
@@ -76,7 +77,7 @@ do-configure:
.if !target(do-build) && !empty(DJB_SLASHPACKAGE:M[yY][eE][sS])
do-build:
- cd ${WRKSRC} && package/compile
+ cd ${WRKSRC} && package/compile ${DJB_BUILD_ARGS}
.endif
PKG_SUPPORTED_OPTIONS+= djbware-errno-hack