Date: Wed, 21 Nov 2001 14:45:42 -0600 (CST) From: "Scot W. Hetzel" <hetzels@westbend.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/32174: Autoconf patch for bsd.port.mk Message-ID: <200111212045.fALKjge38794@mail.westbend.net>
next in thread | raw e-mail | index | archive | help
>Number: 32174 >Category: ports >Synopsis: Autoconf patch for bsd.port.mk >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 21 12:50:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Scot W. Hetzel >Release: FreeBSD 4.4-RELEASE i386 >Organization: West Bend Internet >Environment: >Description: With the change to the names for the Autoconf & AutoMake file names the ports configure scripts still use the old names. >How-To-Repeat: Try a port that has USE_AUTOCONF or USE_AUTOMAKE defined. >Fix: The fix is to add the following patch to bsd.port.mk. This patch substitues ${ACLOCAL}, ${AUTOMAKE}, ${AUTOCONF}, and ${AUTOHEADER} in the ports ${WRKSRC}/configure script. Index: bsd.port.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.393 diff -u -r1.393 bsd.port.mk --- bsd.port.mk 17 Nov 2001 21:35:39 -0000 1.393 +++ bsd.port.mk 21 Nov 2001 20:19:46 -0000 @@ -1845,12 +1845,14 @@ .if !target(do-configure) do-configure: .if defined(USE_AUTOMAKE) - @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOMAKE_ENV} ${AUTOMAKE} \ - ${AUTOMAKE_ARGS}) + @(cd ${CONFIGURE_WRKSRC} && \ + ${SETENV} ${AUTOMAKE_ENV} ${AUTOMAKE} ${AUTOMAKE_ARGS}) .endif .if defined(USE_AUTOCONF) - @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOCONF_ENV} ${AUTOCONF} \ - ${AUTOCONF_ARGS}) + @(cd ${CONFIGURE_WRKSRC} && \ + ${SETENV} ${AUTOCONF_ENV} ${AUTOCONF} ${AUTOCONF_ARGS} && \ + ${PERL} -pi -e "s/aclocal/${ACLOCAL}/g; s/automake/${AUTOMAKE}/g; \ + s/autoconf/${AUTOCONF}/g; s/autoheader/${AUTOHEADER}/g;" ${WRKSRC}/configure) .endif @if [ -f ${SCRIPTDIR}/configure ]; then \ cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ >Release-Note: >Audit-Trail: >Unformatted: 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?200111212045.fALKjge38794>