Date: Sun, 30 Apr 2000 00:47:17 -0300 From: lioux@uol.com.br To: freebsd-ports@freebsd.org Subject: Re: More CONFIGURE_{blabla} options proposal for .mk Message-ID: <20000430004717.A45807@Fedaykin.here> In-Reply-To: <20000429190649.A30180@Fedaykin.here>; from lioux@uol.com.br on Sat, Apr 29, 2000 at 07:06:49PM -0300 References: <20000429190649.A30180@Fedaykin.here>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 29, 2000 at 07:06:49PM -0300, lioux@uol.com.br wrote: > Dear Ports, > (specially Mr. Satoshi) > > I am thereby submitting some bsd.port.mk options. > I hope the options are self-explanatory. An extra patch to be applied after the aforementioned in the subject. This one makes it right for AUTOCONF too. Well, I did "fix" configure, autoconf was the logical next move. I just overlooked it. It is fixed here. I did not do the _BEFORE_ options for autoconf but I can do it if you think I should. Please say I should. :) Regards, Mario Ferreira -- patch --- /usr/ports/Mk/bsd.port.mk Sun Apr 30 00:41:50 2000 +++ bsd.port.mk Sun Apr 30 00:43:00 2000 @@ -129,6 +129,10 @@ # USE_AUTOCONF - Says that the port uses autoconf. Implies GNU_CONFIGURE. # AUTOCONF - Set to path of GNU autoconf if not in $PATH (default: # autoconf). +# AUTOCONF_WRKSRC - A subdirectory of ${WRKDIR} where to the configure target cd +# before calling ${AUTOCONF}. Only needed when +# it should be different from ${CONFIGURE_WRKSRC} +# (default: ${CONFIGURE_WRKSRC}) # USE_LIBTOOL - Says that the port uses Libtool. Implies GNU_CONFIGURE. # LIBTOOL - Set to path of libtool (default: libtool). # LIBTOOLFILES - Files to patch for libtool (defaults: "aclocal.m4" if @@ -715,6 +719,7 @@ BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake .endif .if defined(USE_AUTOCONF) +AUTOCONF_WRKSRC?= ${CONFIGURE_WRKSRC} GNU_CONFIGURE= yes BUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf .endif @@ -1725,7 +1730,7 @@ .if !target(do-configure) do-configure: .if defined(USE_AUTOCONF) - @(cd ${WRKSRC} && ${AUTOCONF}) + @(cd ${AUTOCONF_WRKSRC} && ${AUTOCONF}) .endif @if [ -f ${SCRIPTDIR}/configure ]; then \ cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ 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?20000430004717.A45807>