ports/137199: net/kdenetwork4: fix cross-build

Dima Panov fluffy at fluffy.khv.ru
Tue Jul 28 08:00:12 UTC 2009


>Number:         137199
>Category:       ports
>Synopsis:       net/kdenetwork4: fix cross-build
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 28 08:00:10 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dima Panov
>Release:        FreeBSD 8.0-800105-BETA2 i386
>Organization:
Fluffy.Khv.RU 
>Environment:


System: FreeBSD 8.0-800105-BETA2 #0: Fri Jul 24 00:15:17 VLAST 2009
    root at Fluffy.Khv.RU:/usr/obj/usr/src/sys/Spot



>Description:


net/kdenetwork4: fix cross-build


>How-To-Repeat:





>Fix:


--- kdenetwork4.diff begins here ---
Index: net/kdenetwork4/Makefile
===================================================================
RCS file: /home/ncvs/ports/net/kdenetwork4/Makefile,v
retrieving revision 1.145
diff -u -r1.145 Makefile
--- net/kdenetwork4/Makefile	3 Jun 2009 11:02:06 -0000	1.145
+++ net/kdenetwork4/Makefile	28 Jul 2009 07:34:27 -0000
@@ -44,12 +44,12 @@
 
 .include <bsd.port.pre.mk>
 
-.if exists(/usr/sbin/pppd)
-CMAKE_ARGS+=	-DBUILD_kppp:BOOL=ON
-PLIST_SUB+=	KPPP=""
-.else
+.if ${OSVERSION} >= 800074
 CMAKE_ARGS+=	-DBUILD_kppp:BOOL=OFF
 PLIST_SUB+=	KPPP="@comment "
+.else
+CMAKE_ARGS+=	-DBUILD_kppp:BOOL=ON
+PLIST_SUB+=	KPPP=""
 .endif
 
 .if defined(WITH_XMMS)
--- kdenetwork4.diff ends here ---



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



More information about the freebsd-ports-bugs mailing list