Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2009 18:50:42 +1100
From:      "Dima Panov" <fluffy@fluffy.khv.ru>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/137199: net/kdenetwork4: fix cross-build
Message-ID:  <1248767442.43532@Fluffy.Khv.RU>
Resent-Message-ID: <200907280800.n6S80AIE014566@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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