Date: Wed, 16 Nov 2005 15:34:06 -0500 From: Frank Laszlo <laszlof@vonostingroup.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: lev@FreeBSD.org Subject: ports/89176: [PATCH]: devel/subversion: Does not build using WITH_MOD_DAV_SVN Message-ID: <E1EcTyo-000J33-Pj@ritamari.vonostingroup.com> Resent-Message-ID: <200511162040.jAGKeDdU041677@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 89176 >Category: ports >Synopsis: [PATCH]: devel/subversion: Does not build using WITH_MOD_DAV_SVN >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 16 20:40:13 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Frank Laszlo >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD ritamari.vonostingroup.com 6.0-STABLE FreeBSD 6.0-STABLE #0: Mon Nov 7 12:06:15 EST 2005 laszlof@ritamari.vonostingroup.com:/usr/obj/usr/src/sys/RITAMARI i386 >Description: The port does not include bsd.apache.mk which defines APXS, which will cause the following error: ===> subversion-python-1.3.0.r2 depends on shared library: intl - found -e -S LIBEXECDIR=/usr/local/libexec/apache2 -a -n dav libexec/apache2/mod_dav.so -e: not found *** Error code 127 I believe that defining USE_APACHE is the proper way to pull in bsd.apache.mk, The attached patch will accomplish this, though i suppose you dont nescessarily want to explicitly define the apache version. >How-To-Repeat: cd /usr/ports/devel/subversion && make -DWITH_MOD_DAV_SVN -V AXPS cd /usr/ports/devel/subversion && make -DWITH_MOD_DAV_SVN install >Fix: --- subversion-mod_dav-svn.diff begins here --- diff -NrU3 subversion.orig/Makefile subversion/Makefile --- subversion.orig/Makefile Wed Nov 16 15:19:09 2005 +++ subversion/Makefile Wed Nov 16 15:20:41 2005 @@ -141,6 +141,7 @@ .endif .if defined(WITH_MOD_DAV_SVN) +USE_APACHE= 20 WITH_APACHE2_APR= yes CONFIGURE_ARGS+= --with-apxs=${APXS} PLIST_SUB+= MOD_DAV_SVN="" @@ -152,6 +153,7 @@ .endif .if defined(WITH_APACHE2_APR) +USE_APACHE= 20 APACHE2_PORT?= www/apache2 BUILD_DEPENDS+= ${APXS}:${PORTSDIR}/${APACHE2_PORT} RUN_DEPENDS+= ${APXS}:${PORTSDIR}/${APACHE2_PORT} --- subversion-mod_dav-svn.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1EcTyo-000J33-Pj>