ports/81077: www/gallery silently assumes that GALLERYDIR is relative to ${LOCAL}

John Nielsen john at jnielsen.net
Sun May 15 18:30:16 UTC 2005


>Number:         81077
>Category:       ports
>Synopsis:       www/gallery silently assumes that GALLERYDIR is relative to ${LOCAL}
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 15 18:30:08 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     John Nielsen
>Release:        FreeBSD 4.9-RELEASE-p13-jc2 i386
>Organization:
>Environment:
System: FreeBSD ns1.jnielsen.net 4.9-RELEASE-p13-jc2 FreeBSD 4.9-RELEASE-p13-jc2 #8: Thu Dec 9 00:18:40 PST 2004 user at jail16.johncompanies.com:/usr/obj/usr/src/sys/jail16 i386


	
>Description:
	When overriding the destination of the www/gallery port with the
GALLERYDIR make variable, the port assumes the given path to be relative to
/usr/local (or whatever the local directory is set to), even if the value
of the variable begins with a slash.
>How-To-Repeat:
	
cd /usr/ports/www/gallery ; make GALLERYDIR=/usr/phpapps/gallery install clean
(the port will be installed to /usr/local/usr/phpapps/gallery)
>Fix:

	
Either change the Makefile to allow for fully qualified pathnames, or document the
fact that the variable is relative to ${LOCAL}.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list