ports/121717: [patch] devel/libtool15 fails if world built with WITHOUT_INFO=yes
John Hein
jhein at timing.com
Fri Mar 14 22:20:02 UTC 2008
>Number: 121717
>Category: ports
>Synopsis: [patch] devel/libtool15 fails if world built with WITHOUT_INFO=yes
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 14 22:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: John Hein
>Release: FreeBSD 7 & 8
>Organization:
>Environment:
>Description:
If world is built/installed with WITHOUT_INFO=yes, then makeinfo and
install-info are unavailable. The libtool15 port dies because
it non-optionally does both.
>How-To-Repeat:
cd ports/devel/libtool15
mv /usr/bin/makeinfo /usr/bin/makeinfo.mv # to simulate WITHOUT_INFO=yes
mv /usr/bin/install-info /usr/bin/install-info.mv # to simulate WITHOUT_INFO=yes
make
If you get past the 'make', then 'make install' will fail
when bsd.ports.mk tries to run install-info.
>Fix:
Check to see if makeinfo exists. Key off that to decide
whether to try to build/install info files.
Index: Makefile
===================================================================
RCS file: /base/FreeBSD-CVS/ports/devel/libtool15/Makefile,v
retrieving revision 1.60
diff -u -p -r1.60 Makefile
--- Makefile 30 Sep 2007 05:43:29 -0000 1.60
+++ Makefile 14 Mar 2008 22:04:32 -0000
@@ -17,8 +17,11 @@ COMMENT?= Generic shared library support
GNU_CONFIGURE= yes
CONFIGURE_ARGS?= --disable-ltdl-install
+# If system is built with WITHOUT_INFO=yes, there may be no makeinfo
+.if exists(/usr/bin/makeinfo) || exists(${LOCALBASE}/bin/makeinfo)
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INFO?= libtool
+.endif
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list