From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 31 19:10:20 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5693A16A4CE for ; Fri, 31 Oct 2003 19:10:20 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D78E243FD7 for ; Fri, 31 Oct 2003 19:10:16 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hA13AGFY034229 for ; Fri, 31 Oct 2003 19:10:16 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hA13AGqC034228; Fri, 31 Oct 2003 19:10:16 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 31 Oct 2003 19:10:16 -0800 (PST) Resent-Message-Id: <200311010310.hA13AGqC034228@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, Yen-Ming Lee Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D075F16A4CE for ; Fri, 31 Oct 2003 19:00:54 -0800 (PST) Received: from utopia.leeym.com (utopia.leeym.com [61.218.64.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id D639F43FAF for ; Fri, 31 Oct 2003 19:00:53 -0800 (PST) (envelope-from leeym@utopia.leeym.com) Received: from localhost (localhost [127.0.0.1]) by utopia.leeym.com (Postfix) with ESMTP id DEC963EA021 for ; Sat, 1 Nov 2003 11:00:51 +0800 (CST) Received: from utopia.leeym.com ([127.0.0.1]) by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 34169-05 for ; Sat, 1 Nov 2003 11:00:40 +0800 (CST) Received: by utopia.leeym.com (Postfix, from userid 1000) id 1A6DF3EA01E; Sat, 1 Nov 2003 11:00:40 +0800 (CST) Message-Id: <20031101030040.1A6DF3EA01E@utopia.leeym.com> Date: Sat, 1 Nov 2003 11:00:40 +0800 (CST) From: Yen-Ming Lee To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/58791: GNU INFO related settings in Mk/bsd.port.mk X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Yen-Ming Lee List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2003 03:10:20 -0000 >Number: 58791 >Category: ports >Synopsis: GNU INFO related settings in Mk/bsd.port.mk >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 31 19:10:16 PST 2003 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.1-RELEASE-p10 i386 >Organization: >Environment: System: FreeBSD utopia.leeym.com 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #38: Sat Oct 18 06:46:40 CST 2003 root@utopia.leeym.com:/mnt/obj/usr/src/sys/UTOPIA i386 >Description: The INFO only insert "@exec install-info ..." in PLIST, not actually execute install-info when installing a port. >How-To-Repeat: >Fix: --- bsd.port.mk.diff begins here --- Index: bsd.port.mk =================================================================== RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v retrieving revision 1.468 diff -u -r1.468 bsd.port.mk --- bsd.port.mk 3 Sep 2003 19:50:24 -0000 1.468 +++ bsd.port.mk 1 Nov 2003 02:53:22 -0000 @@ -834,6 +834,7 @@ HEAD?= /usr/bin/head ID?= /usr/bin/id IDENT?= /usr/bin/ident +INSTALLINFO?= /usr/bin/install-info LDCONFIG?= /sbin/ldconfig LN?= /bin/ln LS?= /bin/ls @@ -4361,11 +4362,12 @@ add-plist-info: # Process GNU INFO files at package install/deinstall time .for i in ${INFO} - @${ECHO_CMD} "@unexec install-info --delete %D/info/$i.info %D/info/dir" \ + @${ECHO_CMD} "@unexec ${INSTALLINFO} --delete %D/info/$i.info %D/info/dir" \ >> ${TMPPLIST} @${LS} ${PREFIX}/info/$i.info* | ${SED} -e s:${PREFIX}/::g >> ${TMPPLIST} - @${ECHO_CMD} "@exec install-info %D/info/$i.info %D/info/dir" \ + @${ECHO_CMD} "@exec ${INSTALLINFO} %D/info/$i.info %D/info/dir" \ >> ${TMPPLIST} + ${INSTALLINFO} ${PREFIX}/info/$i.info ${PREFIX}/info/dir .endfor # Compress (or uncompress) and symlink manpages. --- bsd.port.mk.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: