Add a new flag: USE_IMAKE

This will cause the configure pass to do an `xmkmf' if set.
Submitted by:	jkh
This commit is contained in:
Jordan K. Hubbard 1994-08-25 13:53:02 +00:00
parent f06e7c2ed8
commit 23573be72a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2276

View File

@ -1,7 +1,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
# $Id: bsd.port.mk,v 1.15 1994/08/22 13:25:33 jkh Exp $
# $Id: bsd.port.mk,v 1.16 1994/08/24 14:49:33 jkh Exp $
#
# Supported Variables and their behaviors:
@ -183,6 +183,9 @@ ${CONFIGURE_COOKIE}:
fi
.if defined(HAS_CONFIGURE)
@(cd ${WRKSRC}; ./configure ${CONFIGURE_ARGS})
.endif
.if defined(USE_IMAKE)
@(cd ${WRKSRC}; xmkmf)
.endif
@if [ -f ${SCRIPTDIR}/post-configure ]; then \
sh ${SCRIPTDIR}/post-configure ${PORTSDIR} ${.CURDIR} ${WRKSRC}; \