diff options
author | andreas <andreas@FreeBSD.org> | 1996-07-27 19:54:30 +0800 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 1996-07-27 19:54:30 +0800 |
commit | cfaa1747592a28d8e8ddd2fb2159c61508e0da9c (patch) | |
tree | ada5dd18de7f97616c5dc8a56df15b3b45bab5ce | |
parent | 8dad439e64f8e933396ec206f3a326d154b09f6e (diff) | |
download | freebsd-ports-graphics-cfaa1747592a28d8e8ddd2fb2159c61508e0da9c.tar.gz freebsd-ports-graphics-cfaa1747592a28d8e8ddd2fb2159c61508e0da9c.tar.zst freebsd-ports-graphics-cfaa1747592a28d8e8ddd2fb2159c61508e0da9c.zip |
Fixed bug, that CONFIGURE_SCRIPT in a port's Makefile doesn't have
any effect. The target do-configure used ${SCRIPTDIR}/configure
instead of ${SCRIPTDIR}/${CONFIGURE_SCRIPT}.
-andreas
-rw-r--r-- | Mk/bsd.port.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index d987d682b38..7bcf2599a75 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -3,7 +3,7 @@ # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. # -# $Id: bsd.port.mk,v 1.215 1996/06/26 21:12:28 gpalmer Exp $ +# $Id: bsd.port.mk,v 1.216 1996/07/05 06:12:12 jkh Exp $ # # Please view me with 4 column tabs! @@ -685,12 +685,12 @@ do-patch: .if !target(do-configure) do-configure: - @if [ -f ${SCRIPTDIR}/configure ]; then \ + @if [ -f ${SCRIPTDIR}/${CONFIGURE_SCRIPT} ]; then \ cd ${.CURDIR} && ${SETENV} CURDIR=${.CURDIR} DISTDIR=${DISTDIR}\ WRKDIR=${WRKDIR} WRKSRC=${WRKSRC} PATCHDIR=${PATCHDIR} \ SCRIPTDIR=${SCRIPTDIR} FILESDIR=${FILESDIR} \ PORTSDIR=${PORTSDIR} PREFIX=${PREFIX} DEPENDS="${DEPENDS}" \ - X11BASE=${X11BASE} /bin/sh ${SCRIPTDIR}/configure; \ + X11BASE=${X11BASE} /bin/sh ${SCRIPTDIR}/${CONFIGURE_SCRIPT}; \ fi .if defined(HAS_CONFIGURE) @(cd ${WRKSRC} && CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \ |