summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-08-21 18:26:10 +0000
committerjkh <jkh@FreeBSD.org>1994-08-21 18:26:10 +0000
commitbfe5dfb7c237487991a5e1fd4f5d92745edb1209 (patch)
treeacbe8d3d242546ed8df205fa48ceb298414e3915 /share
parenta5b27701b986c54d21fe06e8c59136098fd98118 (diff)
downloadFreeBSD-src-bfe5dfb7c237487991a5e1fd4f5d92745edb1209.zip
FreeBSD-src-bfe5dfb7c237487991a5e1fd4f5d92745edb1209.tar.gz
Sigh.. Some of these configs are a little hairy. I need to know the
${PORTSDIR} too now - pass it to any and all config scripts. Submitted by: jkh
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.port.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk
index acc994b..5933bc1 100644
--- a/share/mk/bsd.port.mk
+++ b/share/mk/bsd.port.mk
@@ -1,7 +1,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
-# $Id: bsd.port.mk,v 1.6 1994/08/21 16:55:54 jkh Exp $
+# $Id: bsd.port.mk,v 1.7 1994/08/21 17:42:24 jkh Exp $
#
# Supported Variables and their behaviors:
@@ -124,20 +124,20 @@ ${.CURDIR}/.configure_done:
done; \
fi
# We have a small convention for our local configure scripts, which
-# is that ${.CURDIR} and the package working directory get passed as
+# is that ${PORTSDIR}, ${.CURDIR} and ${WRKSRC} get passed as
# command-line arguments since all other methods are a little
# problematic.
@if [ -f ${SCRIPTDIR}/pre-configure ]; then \
- sh ${SCRIPTDIR}/pre-configure ${.CURDIR} ${WRKSRC}; \
+ sh ${SCRIPTDIR}/pre-configure ${PORTSDIR} ${.CURDIR} ${WRKSRC}; \
fi
@if [ -f ${SCRIPTDIR}/configure ]; then \
- sh ${SCRIPTDIR}/configure ${.CURDIR} ${WRKSRC}; \
+ sh ${SCRIPTDIR}/configure ${PORTSDIR} ${.CURDIR} ${WRKSRC}; \
fi
.if defined(HAS_CONFIGURE)
@(cd ${WRKSRC}; ./configure ${CONFIGURE_ARGS})
.endif
@if [ -f ${SCRIPTDIR}/post-configure ]; then \
- sh ${SCRIPTDIR}/post-configure ${.CURDIR} ${WRKSRC}; \
+ sh ${SCRIPTDIR}/post-configure ${PORTSDIR} ${.CURDIR} ${WRKSRC}; \
fi
@touch -f ${.CURDIR}/.configure_done
.endif
OpenPOWER on IntegriCloud