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
commita3289c2c8e8ac9a2cdf5fc17346310f845932498 (patch)
tree3c9843442c397ddeab8397687a982ac6f3edabe0 /mk/djbware.mk
parent2a2b17bbf020f5b2ff7843370da19d0a6a094e6c (diff)
downloadpkgsrc-a3289c2c8e8ac9a2cdf5fc17346310f845932498.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