ports/118958: Mk/bsd.autotools.mk: find configure if CONFIGURE_WRKSRC != PATCH_WRKSRC.
Thierry Thomas
thierry at pompo.net
Sat Dec 22 19:00:04 UTC 2007
>Number: 118958
>Category: ports
>Synopsis: Mk/bsd.autotools.mk: find configure if CONFIGURE_WRKSRC != PATCH_WRKSRC.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Dec 22 19:00:03 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Thierry Thomas
>Release: FreeBSD 7.0-BETA4 i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Sun Dec 16 14:52:28 CET 2007 thierry at graf.pompo.net:/usr/obj/usr/src/sys/GRAF071102 i386
>Description:
I'm updating the port cad/opencascade, and I have to replace
GNU_CONFIGURE by "USE_AUTOTOOLS= libtool:15", but this
change causes the following error:
cp: configure: No such file or directory
*** Error code 1
>How-To-Repeat:
Try to use libtool in a port having CONFIGURE_WRKSRC != PATCH_WRKSRC.
>Fix:
Please consider the following patch:
--- bsd.autotools.mk.diff begins here ---
--- Mk/bsd.autotools.mk.orig 2007-07-31 21:32:46.000000000 +0200
+++ Mk/bsd.autotools.mk 2007-12-22 19:28:19.000000000 +0100
@@ -303,7 +303,7 @@
.if !target(patch-autotools)
patch-autotools::
. if defined(AUTOTOOL_libtool)
- @(cd ${PATCH_WRKSRC}; \
+ @(cd ${CONFIGURE_WRKSRC}; \
for file in ${LIBTOOLFILES}; do \
${CP} $$file $$file.tmp; \
${SED} -e "/^ltmain=/!s^\$$ac_aux_dir/ltmain.sh^${LIBTOOLFLAGS} ${LTMAIN}^g" \
--- bsd.autotools.mk.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list