ports/157638: [patch] devel/kdesvn-kde4 fix build with subversion-freebsd

Olli Hauer ohauer at FreeBSD.org
Sun Jun 5 22:10:06 UTC 2011


>Number:         157638
>Category:       ports
>Synopsis:       [patch] devel/kdesvn-kde4 fix build with subversion-freebsd
>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:   Sun Jun 05 22:10:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Olli Hauer
>Release:        
>Organization:
>Environment:

>Description:
Fix build in tinderbox if WITH_FREEBSD_SUBVERSION is defined

>How-To-Repeat:
Define WITH_FREEBSD_SUBVERSION in a tinderbox build.
RUN/BUILD_DEPENDS are OK, but LIB_DEPENDS fail mostly because
subversion is added twice (subversion for the port and 
subversion-freebsd for RUN/BUILD_DEPENDS ports)


>Fix:


--- kdesvn-kde4.diff begins here ---
Index: kdesvn-kde4/Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/kdesvn-kde4/Makefile,v
retrieving revision 1.46
diff -u -r1.46 Makefile
--- kdesvn-kde4/Makefile	15 Sep 2010 18:47:10 -0000	1.46
+++ kdesvn-kde4/Makefile	5 Jun 2011 20:45:18 -0000
@@ -12,7 +12,11 @@
 MAINTAINER=	naylor.b.david at gmail.com
 COMMENT=	KDE frontend for Subversion
 
+.if !defined(WITH_FREEBSD_SUBVERSION)
 LIB_DEPENDS=	svn_client-1:${PORTSDIR}/devel/subversion
+.else
+LIB_DEPENDS=	svn_client-1:${PORTSDIR}/devel/subversion-freebsd
+.endif
 
 LICENSE=	GPLv2
 
--- kdesvn-kde4.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list