ports/89570: [PATCH] devel/subversion: workaround for bsd.port.mk changes.

Kuang-che Wu kcwu at csie.org
Sat Nov 26 12:20:07 UTC 2005


>Number:         89570
>Category:       ports
>Synopsis:       [PATCH] devel/subversion: workaround for bsd.port.mk changes.
>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:   Sat Nov 26 12:20:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Kuang-che Wu
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD kcwu.csie.org 7.0-CURRENT FreeBSD 7.0-CURRENT #3: Sun Sep 18 14:47:32 CST 2005
>Description:
At bsd.port.mk 1.518, APXS is moved to bsd.apache.mk and protected by USE_APACHE.
That change broke this port with WITH_MOD_DAV_SVN because APXS is undefined.

Following patch is a workaround, which copy the APXS line from bsd.apache.mk.

Port maintainer (lev at freebsd.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
cd /usr/ports/devel/subversion; make WITH_MOD_DAV_SVN=1
===>  Extracting for subversion-1.3.0.r2
=> MD5 Checksum OK for subversion-1.3.0-rc2.tar.bz2.
=> No SHA256 checksum recorded for subversion-1.3.0-rc2.tar.bz2.
(...skipped...)
===>  Patching for subversion-1.3.0.r2
===>  Applying FreeBSD patches for subversion-1.3.0.r2
===>   subversion-1.3.0.r2 depends on executable:  - not found
===>    Verifying install for  in /usr/ports/www/apache2

It should be:
===>   subversion-1.3.0.r2 depends on executable: /usr/local/sbin/apxs - not found
===>    Verifying install for /usr/local/sbin/apxs in /usr/ports/www/apache2


>Fix:

--- subversion-1.3.0.r2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/subversion/Makefile /files/home/kcwu/work/ports/x/devel/subversion/Makefile
--- /usr/ports/devel/subversion/Makefile	Sat Nov 26 20:03:34 2005
+++ /files/home/kcwu/work/ports/x/devel/subversion/Makefile	Sat Nov 26 19:20:01 2005
@@ -140,6 +140,7 @@
 CONFIGURE_ARGS+=	--without-swig --disable-swig-bindings
 .endif
 
+APXS?=			${LOCALBASE}/sbin/apxs
 .if defined(WITH_MOD_DAV_SVN)
 WITH_APACHE2_APR=	yes
 CONFIGURE_ARGS+=	--with-apxs=${APXS}
--- subversion-1.3.0.r2.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list