Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2003 22:43:30 +0800
From:      "=?gb2312?B?WGluIExJL8Du9s4=?=" <delphij@frontfree.net>
To:        <FreeBSD-gnats-submit@freebsd.org>
Cc:        lev@freebsd.org
Subject:   [PATCH] Some improvement to devel/subversion
Message-ID:  <20031118144402.16CD552A3@ftp.bjpu.edu.cn>

next in thread | raw e-mail | index | archive | help
>Submitter-Id:	current-users
>Originator:	Xin LI <delphij at frontfree dot net>
>Organization:	Frontfree Technology Network
>Confidential:	no
>Synopsis:	[PATCH] Some improvement to devel/subversion
>Severity:	serious
>Priority:	medium
>Category:	ports	
>Class:		change-request
>Release:	FreeBSD 5.1-CURRENT i386
>Environment:
	FreeBSD mail.servers.frontfree.net 5.1-CURRENT FreeBSD 5.1-CURRENT
#18: Sun Nov 16 06:36:57 CST 2003
root@mail.servers.frontfree.net:/usr/obj/usr/src/sys/MAIL  i386
>Description:
	The attached patch do the following:
	o Detect Apache2 automatically, when present.
	o Correct a typo in message

	Please consider commit the patch.
>How-To-Repeat:
>Fix:
	Apply the attached patch to ports/devel/subversion:

diff -ruN subversion.orig/Makefile subversion/Makefile
--- subversion.orig/Makefile	Thu Nov 13 18:00:38 2003
+++ subversion/Makefile	Tue Nov 18 21:13:58 2003
@@ -35,6 +35,10 @@
 
 SVNREPOS?=	/home/svn/repos
 
+.if exists(${LOCALBASE}/include/apache2/apr.h)
+WITH_APACHE2_APR=	yes
+.endif
+
 .if defined(WITH_MOD_DAV_SVN)
 WITH_APACHE2_APR=	yes
 CONFIGURE_ARGS+= \
@@ -126,7 +130,7 @@
 	@${ECHO_MSG} "* the above subdirectories are writable by this group"
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "Repository will be created at '${SVNREPOS}' with group
'${SVNGROUP}'"
-	@${ECHO_MSG} "You could change tese settings by defining SVNREPOS
and SVNGROUP"
+	@${ECHO_MSG} "You could change these settings by defining SVNREPOS
and SVNGROUP"
 	@${ECHO_MSG} ""
 .endif
 	@${ECHO_MSG}



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