[PATCH] Some improvement to devel/subversion

=?gb2312?B?WGluIExJL8Du9s4=?= delphij at frontfree.net
Tue Nov 18 06:44:12 PST 2003


>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 at 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}



More information about the freebsd-ports mailing list