From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 16 20:40:14 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2FB016A41F for ; Wed, 16 Nov 2005 20:40:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BA6543D53 for ; Wed, 16 Nov 2005 20:40:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAGKeDnk041678 for ; Wed, 16 Nov 2005 20:40:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAGKeDdU041677; Wed, 16 Nov 2005 20:40:13 GMT (envelope-from gnats) Resent-Date: Wed, 16 Nov 2005 20:40:13 GMT Resent-Message-Id: <200511162040.jAGKeDdU041677@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Frank Laszlo Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2444616A41F; Wed, 16 Nov 2005 20:34:07 +0000 (GMT) (envelope-from laszlof@ritamari.vonostingroup.com) Received: from ritamari.vonostingroup.com (ritamari.vonostingroup.com [216.144.193.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id B11C543D45; Wed, 16 Nov 2005 20:34:06 +0000 (GMT) (envelope-from laszlof@ritamari.vonostingroup.com) Received: from laszlof by ritamari.vonostingroup.com with local (Exim 4.54 (FreeBSD)) id 1EcTyo-000J33-Pj; Wed, 16 Nov 2005 15:34:06 -0500 Message-Id: Date: Wed, 16 Nov 2005 15:34:06 -0500 From: Frank Laszlo To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: lev@FreeBSD.org Subject: ports/89176: [PATCH]: devel/subversion: Does not build using WITH_MOD_DAV_SVN X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Laszlo List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2005 20:40:14 -0000 >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: