From jhein@timing.com  Fri Mar 14 22:12:13 2008
Return-Path: <jhein@timing.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C3C03106567B
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 14 Mar 2008 22:12:13 +0000 (UTC)
	(envelope-from jhein@timing.com)
Received: from Daffy.timing.com (w.timing.com [206.168.13.218])
	by mx1.freebsd.org (Postfix) with ESMTP id 92FBD8FC27
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 14 Mar 2008 22:12:13 +0000 (UTC)
	(envelope-from jhein@timing.com)
Received: from gromit.timing.com (gromit.timing.com [206.168.13.209])
	by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id m2EMCC2D038496;
	Fri, 14 Mar 2008 16:12:12 -0600 (MDT)
	(envelope-from jhein@timing.com)
Received: from gromit.timing.com (localhost [127.0.0.1])
	by gromit.timing.com (8.14.2/8.14.2) with ESMTP id m2EMCBDf054150;
	Fri, 14 Mar 2008 16:12:11 -0600 (MDT)
	(envelope-from jhein@gromit.timing.com)
Received: (from jhein@localhost)
	by gromit.timing.com (8.14.2/8.14.2/Submit) id m2EMCBKS054149;
	Fri, 14 Mar 2008 16:12:11 -0600 (MDT)
	(envelope-from jhein)
Message-Id: <200803142212.m2EMCBKS054149@gromit.timing.com>
Date: Fri, 14 Mar 2008 16:12:11 -0600 (MDT)
From: John Hein <jhein@timing.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ade@freebsd.org
Subject: [patch] devel/libtool15 fails if world built with WITHOUT_INFO=yes
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         121717
>Category:       ports
>Synopsis:       [patch] devel/libtool15 fails if world built with WITHOUT_INFO=yes
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    ade
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 14 22:20:01 UTC 2008
>Closed-Date:    Sat Mar 15 04:53:50 UTC 2008
>Last-Modified:  Sat Mar 15 04:53:50 UTC 2008
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->ade 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Mar 14 22:20:19 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121717 
State-Changed-From-To: open->closed 
State-Changed-By: ade 
State-Changed-When: Sat Mar 15 04:53:33 UTC 2008 
State-Changed-Why:  
Duplicate of 121296 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121717 
>Unformatted:
