Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2009 22:31:02 GMT
From:      Markus Hitter <mah@jump-ing.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/130899: Subversion doesn't install with PREFIX != /usr/local
Message-ID:  <200901222231.n0MMV2Km064134@www.freebsd.org>
Resent-Message-ID: <200901222240.n0MMe1Hw090126@freefall.freebsd.org>

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

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901222231.n0MMV2Km064134>