ports/130899: Subversion doesn't install with PREFIX != /usr/local

Markus Hitter mah at jump-ing.de
Thu Jan 22 22:40:02 UTC 2009


>Number:         130899
>Category:       ports
>Synopsis:       Subversion doesn't install with PREFIX != /usr/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:   Thu Jan 22 22:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Markus Hitter
>Release:        7.0 RELEASE
>Organization:
jump-ING Markus Hitter
>Environment:
FreeBSD freebsdfortinybsd.jump-ing.de 7.0-RELEASE FreeBSD 7.0-RELEASE #0 Sun Feb 24 19:59:52 UTC 2008 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
With PREFIX=/usr and APACHE_APR unselected, the dependency devel/apr gets installed properly, but Subversion it's self refuses to install. Instead, it complains about devel/apr being not installed properly. Likely, the same problem appears with any PREFIX other than the default one.

Reason is, the variable APR_APU_DIR gets set to /usr/local/bin instead of /usr/bin in Makefile.common.

>How-To-Repeat:
cd /usr/ports/devel/apr && make deinstall
cd /usr/ports/devel/subversion && make PREFIX=/usr install
>Fix:
One possible fix is to replace all occurences of ${LOCALBASE} with ${PREFIX} in Makefile and Makefile.common. While I can think of situations where this isn't sufficient, this fix worked well for me.

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



More information about the freebsd-ports-bugs mailing list