Date: 29 Apr 2000 02:38:10 -0700 From: asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami) To: lioux@uol.com.br Cc: freebsd-ports@FreeBSD.ORG Subject: Re: bsd.port.mk CONFIGURE_WRKDIR proposal Message-ID: <vqcaeidqmbh.fsf@silvia.hip.berkeley.edu> In-Reply-To: lioux@uol.com.br's message of "Thu, 27 Apr 2000 13:32:19 -0300" References: <20000427002216.A97999@Fedaykin.here> <vqcwvlkroke.fsf@silvia.hip.berkeley.edu> <20000427133219.B476@Fedaykin.here>
next in thread | previous in thread | raw e-mail | index | archive | help
* From: lioux@uol.com.br * However, is SRC semantically better suited than DIR? I think so. Since it replaces ${WRKSRC}. It will look weird if I said CONFIGURE_WRKDIR defaults to ${WRKSRC}. * (wink) Just do it in the next few days so that I can * enjoy using it. HEheheh Will do. Is the following ok? Satoshi ------- Index: bsd.port.mk =================================================================== RCS file: /usr/cvs/ports/Mk/bsd.port.mk,v retrieving revision 1.337 diff -u -r1.337 bsd.port.mk --- bsd.port.mk 2000/04/20 01:06:12 1.337 +++ bsd.port.mk 2000/04/29 09:37:28 @@ -368,7 +368,8 @@ # configure stage will not do anything if this is not set. # GNU_CONFIGURE - Set if you are using GNU configure (optional). Implies # HAS_CONFIGURE. -# CONFIGURE_SCRIPT - Name of configure script (defaults: configure). +# CONFIGURE_WRKSRC - Directory to run configure in (default: ${WRKSRC}). +# CONFIGURE_SCRIPT - Name of configure script (default: configure). # CONFIGURE_TARGET - The name of target to call when GNU_CONFIGURE is # defined (default: ${MACHINE_ARCH}--freebsd${OSREL}). # CONFIGURE_ARGS - Pass these args to configure if ${HAS_CONFIGURE} is set @@ -1202,6 +1203,7 @@ .endif PKGLATESTFILE?= ${PKGLATESTREPOSITORY}/${PKGBASE}${PKG_SUFX} +CONFIGURE_WRKSRC?= ${WRKSRC} CONFIGURE_SCRIPT?= configure CONFIGURE_TARGET?= ${MACHINE_ARCH}--freebsd${OSREL} CONFIGURE_LOG?= config.log @@ -1709,7 +1711,7 @@ ${SCRIPTDIR}/configure; \ fi .if defined(HAS_CONFIGURE) - @(cd ${WRKSRC} && \ + @(cd ${CONFIGURE_WRKSRC} && \ if ! ${SETENV} CC="${CC}" CXX="${CXX}" \ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?vqcaeidqmbh.fsf>