aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfluffy <fluffy@FreeBSD.org>2010-01-06 15:04:55 +0800
committerfluffy <fluffy@FreeBSD.org>2010-01-06 15:04:55 +0800
commitcc1a7ad155efbff9741dd457a1811611cdc934a0 (patch)
tree36caca2bd74225b77812a00e7f10d6074ced096e
parent149a73272aec3ebd9229399fa40eb2bdaff4eef5 (diff)
downloadfreebsd-ports-gnome-cc1a7ad155efbff9741dd457a1811611cdc934a0.tar.gz
freebsd-ports-gnome-cc1a7ad155efbff9741dd457a1811611cdc934a0.tar.zst
freebsd-ports-gnome-cc1a7ad155efbff9741dd457a1811611cdc934a0.zip
- Make Marble component really optional
Submitted by: Matt Tosto (maintainer) via email Approved by: miwi, tabthorpe (mentors implicit)
-rw-r--r--graphics/digikam-kde4/Makefile2
-rw-r--r--graphics/digikam-kde4/pkg-plist2
2 files changed, 3 insertions, 1 deletions
diff --git a/graphics/digikam-kde4/Makefile b/graphics/digikam-kde4/Makefile
index 7c313ad4c1c9..77a50ebbe69b 100644
--- a/graphics/digikam-kde4/Makefile
+++ b/graphics/digikam-kde4/Makefile
@@ -58,8 +58,10 @@ CMAKE_ARGS+= -DWITH_LensFun:BOOL=OFF
.if defined(WITH_MARBLE)
LIB_DEPENDS+= marblewidget.5:${PORTSDIR}/misc/kdeedu4
+PLIST_SUB+= MARBLE=""
.else
CMAKE_ARGS+= -DWITH_MarbleWidget:BOOL=OFF
+PLIST_SUB+= MARBLE="@comment "
.endif
.if defined(WITHOUT_PIMLIBS)
diff --git a/graphics/digikam-kde4/pkg-plist b/graphics/digikam-kde4/pkg-plist
index 28385966d27b..f5c2f94c6a5e 100644
--- a/graphics/digikam-kde4/pkg-plist
+++ b/graphics/digikam-kde4/pkg-plist
@@ -104,7 +104,7 @@ lib/kde4/kio_digikamalbums.so
lib/kde4/kio_digikamdates.so
lib/kde4/kio_digikamsearch.so
lib/kde4/kio_digikamtags.so
-lib/kde4/plugins/marble/ExternalDraw.so
+%%MARBLE%%lib/kde4/plugins/marble/ExternalDraw.so
lib/libdigikamcore.so
lib/libdigikamcore.so.1
lib/libdigikamcore.so.1.0.0