aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-07-29 00:43:00 +0800
committermiwi <miwi@FreeBSD.org>2009-07-29 00:43:00 +0800
commitf1f6c2b513fcfe26850288df2c0bfd4cf54fcf55 (patch)
tree7fe72cadc37403c7affbe20a67e27137c5590ac8
parentc2847b82df8901a2d30e69421f7eb051aebe5e45 (diff)
downloadfreebsd-ports-gnome-f1f6c2b513fcfe26850288df2c0bfd4cf54fcf55.tar.gz
freebsd-ports-gnome-f1f6c2b513fcfe26850288df2c0bfd4cf54fcf55.tar.zst
freebsd-ports-gnome-f1f6c2b513fcfe26850288df2c0bfd4cf54fcf55.zip
- Fix cross-build
PR: 137199 Submitted by: Dima
-rw-r--r--net/kdenetwork4/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/kdenetwork4/Makefile b/net/kdenetwork4/Makefile
index d0481ef7f925..921415e3d83e 100644
--- a/net/kdenetwork4/Makefile
+++ b/net/kdenetwork4/Makefile
@@ -44,12 +44,12 @@ OPTIONS= XMMS "Enable XMMS Kopete nowlistening plugin" off
.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)