From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 14 22:20:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 430361065671 for ; Fri, 14 Mar 2008 22:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1DB008FC18 for ; Fri, 14 Mar 2008 22:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2EMK1cj060718 for ; Fri, 14 Mar 2008 22:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2EMK1SN060717; Fri, 14 Mar 2008 22:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 14 Mar 2008 22:20:01 GMT Resent-Message-Id: <200803142220.m2EMK1SN060717@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Hein Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3C03106567B for ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: ade@FreeBSD.org Subject: ports/121717: [patch] devel/libtool15 fails if world built with WITHOUT_INFO=yes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2008 22:20:02 -0000 >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 >Release-Note: >Audit-Trail: >Unformatted: