aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-08-22 02:26:10 +0800
committerjkh <jkh@FreeBSD.org>1994-08-22 02:26:10 +0800
commit6b3b42c9f325e1470fa83d2847037a04c408f74d (patch)
tree6ddf64aba337a7db25268dd3d15b6fe4e63d27c7 /Mk
parentc7a495b3b1a5e523e25ee8c78d388e1e9de73be0 (diff)
downloadfreebsd-ports-gnome-6b3b42c9f325e1470fa83d2847037a04c408f74d.tar.gz
freebsd-ports-gnome-6b3b42c9f325e1470fa83d2847037a04c408f74d.tar.zst
freebsd-ports-gnome-6b3b42c9f325e1470fa83d2847037a04c408f74d.zip
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 'Mk')
-rw-r--r--Mk/bsd.port.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index acc994bdb1ce..5933bc1cec1d 100644
--- a/Mk/bsd.port.mk
+++ b/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