summaryrefslogtreecommitdiff
path: root/net/kdenetwork4
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-07-28 16:43:00 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-07-28 16:43:00 +0000
commitdf0c79dd69c7fa48a9b554d113f93ba5e151a0df (patch)
treea256a761c4bf73ec7768da707a3c36ec5e1e179a /net/kdenetwork4
parent- Update URL of my distfile mirror in 87 ports (diff)
- Fix cross-build
PR: 137199 Submitted by: Dima
Notes
Notes: svn path=/head/; revision=238528
Diffstat (limited to 'net/kdenetwork4')
-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)