Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2005 14:36:59 +0100
From:      Kirill Ponomarew <krion@voodoo.oberon.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/77634: [PATCH] use 	
Message-ID:  <E1D1lpz-00025F-Qp@voodoo.oberon.net>
Resent-Message-ID: <200502171340.j1HDeDXp045203@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         77634
>Category:       ports
>Synopsis:       [PATCH] use
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 17 13:40:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD voodoo.oberon.net 5.3-STABLE

>Description:

Reported by: Ion-Mihai Tetcu <itetcu at people dot tecnik93 dot com>

Add info files to TMPPLIST only if USE_INFO is specified.

>How-To-Repeat:
	
>Fix:

Index: bsd.port.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.509
diff -u -r1.509 bsd.port.mk
--- bsd.port.mk	9 Feb 2005 09:07:37 -0000	1.509
+++ bsd.port.mk	17 Feb 2005 13:34:37 -0000
@@ -4811,6 +4811,7 @@
 
 add-plist-info:
 # Process GNU INFO files at package install/deinstall time
+.if defined(INFO)
 .for i in ${INFO}
 	install-info --quiet ${PREFIX}/${INFO_PATH}/$i.info ${PREFIX}/${INFO_PATH}/dir
 	@${ECHO_CMD} "@unexec install-info --delete %D/${INFO_PATH}/$i.info %D/${INFO_PATH}/dir" \
@@ -4825,6 +4826,7 @@
 	@${ECHO_CMD} "@unexec rmdir %D/info 2> /dev/null || true" >> ${TMPPLIST}
 .endif
 .endif
+.endif
 
 # If we're installing into a non-standard PREFIX, we need to remove that directory at
 # deinstall-time
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1D1lpz-00025F-Qp>