diff options
author | fluffy <fluffy@FreeBSD.org> | 2010-05-16 13:47:19 +0800 |
---|---|---|
committer | fluffy <fluffy@FreeBSD.org> | 2010-05-16 13:47:19 +0800 |
commit | 49d3abe59603a5d64dec2225148333a823352964 (patch) | |
tree | 415f93a8854a34aaf76b53c74d8e67209114ed6c /net | |
parent | 45aed8facac2b5f473b2e1999018c4d1112aa83d (diff) | |
download | freebsd-ports-gnome-49d3abe59603a5d64dec2225148333a823352964.tar.gz freebsd-ports-gnome-49d3abe59603a5d64dec2225148333a823352964.tar.zst freebsd-ports-gnome-49d3abe59603a5d64dec2225148333a823352964.zip |
- Allow kppp to be built on FreeBSD < 800074
Noticed by: QAT
Diffstat (limited to 'net')
-rw-r--r-- | net/kdenetwork4/Makefile | 5 | ||||
-rw-r--r-- | net/kdenetwork4/files/extra-patch-CMakeLists.txt | 12 |
2 files changed, 15 insertions, 2 deletions
diff --git a/net/kdenetwork4/Makefile b/net/kdenetwork4/Makefile index b74e775771e3..2ecdb96c2642 100644 --- a/net/kdenetwork4/Makefile +++ b/net/kdenetwork4/Makefile @@ -6,7 +6,7 @@ PORTNAME= kdenetwork PORTVERSION= ${KDE4_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net kde ipv6 MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src @@ -46,7 +46,7 @@ MAKE_JOBS_SAFE= yes # Explicitly disable alsa, see for details: # http://mail.kde.org/pipermail/kde-freebsd/2010-March/008015.html -CMAKE_ARGS+= -DWITH_Alsa:BOOL=OFF +#CMAKE_ARGS+= -DWITH_Alsa:BOOL=OFF # Embedded btcore support already disconnected from the build and outdated CMAKE_ARGS+= -DENABLE_EMBEDDED_TORRENT_SUPPORT=FALSE @@ -67,6 +67,7 @@ OPTIONS= BTCORE "Enable Bittorrent support in KGet" off \ CMAKE_ARGS+= -DBUILD_kppp:BOOL=OFF PLIST_SUB+= KPPP="@comment " .else +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-CMakeLists.txt CMAKE_ARGS+= -DBUILD_kppp:BOOL=ON PLIST_SUB+= KPPP="" .endif diff --git a/net/kdenetwork4/files/extra-patch-CMakeLists.txt b/net/kdenetwork4/files/extra-patch-CMakeLists.txt new file mode 100644 index 000000000000..cf3878a68ac2 --- /dev/null +++ b/net/kdenetwork4/files/extra-patch-CMakeLists.txt @@ -0,0 +1,12 @@ +--- ./CMakeLists.txt.orig 2010-03-27 03:29:39.000000000 +1000 ++++ ./CMakeLists.txt 2010-05-16 16:29:43.300835439 +1100 +@@ -78,9 +78,7 @@ + + # kppp is broken on FreeBSD >= 8.0 + # disabling until a fix appears +- if(NOT CMAKE_SYSTEM_NAME MATCHES FreeBSD AND NOT APPLE) + macro_optional_add_subdirectory(kppp) +- endif(NOT CMAKE_SYSTEM_NAME MATCHES FreeBSD AND NOT APPLE) + + if(LIBVNCSERVER_FOUND) + macro_optional_add_subdirectory(krfb) |