pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Add DJB_BUILD_ARGS for DJB_SLASHPACKAGE packages th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/49ecfd94fcbe
branches:  trunk
changeset: 510701:49ecfd94fcbe
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun Apr 02 17:40:19 2006 +0000

description:
Add DJB_BUILD_ARGS for DJB_SLASHPACKAGE packages that can make use
of them, such as net/ucspi-ssl.

diffstat:

 mk/djbware.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r e15d6a5613d3 -r 49ecfd94fcbe mk/djbware.mk
--- a/mk/djbware.mk     Sun Apr 02 17:07:07 2006 +0000
+++ b/mk/djbware.mk     Sun Apr 02 17:40:19 2006 +0000
@@ -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_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 @@
 
 .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



Home | Main Index | Thread Index | Old Index