aboutsummaryrefslogtreecommitdiff
path: root/deskutils/kdepimlibs4
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2016-08-24 08:20:31 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2016-08-24 08:20:31 +0000
commit0f583d87000061087521fb77c44c9055d122d787 (patch)
treeb9dc00f333e96550a5732b38b9c9444035e4339c /deskutils/kdepimlibs4
parent558a51279c03199a7a20966174a8f0a1f33dc9b2 (diff)
downloadports-0f583d87000061087521fb77c44c9055d122d787.tar.gz
ports-0f583d87000061087521fb77c44c9055d122d787.zip
Notes
Diffstat (limited to 'deskutils/kdepimlibs4')
-rw-r--r--deskutils/kdepimlibs4/Makefile6
-rw-r--r--deskutils/kdepimlibs4/files/patch-cmake__modules__FindQGpgme.cmake8
2 files changed, 7 insertions, 7 deletions
diff --git a/deskutils/kdepimlibs4/Makefile b/deskutils/kdepimlibs4/Makefile
index d9dbb22dfe6a..62ed005eff3d 100644
--- a/deskutils/kdepimlibs4/Makefile
+++ b/deskutils/kdepimlibs4/Makefile
@@ -20,9 +20,9 @@ LIB_DEPENDS= libgpgme.so:security/gpgme \
libprison.so:graphics/prison \
libqjson.so:devel/qjson
-USE_KDE4= kdelibs akonadi \
+USES= cmake:outsource kde:4 shared-mime-info shebangfix tar:xz
+USE_KDE= kdelibs akonadi \
automoc4 ontologies soprano
-USES= cmake:outsource shared-mime-info shebangfix tar:xz
SHEBANG_FILES= mailtransport/kconf_update/migrate-transports.pl
USE_OPENLDAP= yes
USE_QT4= corelib dbus declarative designer_build gui network sql xml \
@@ -32,7 +32,7 @@ USE_LDCONFIG= yes
post-patch:
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${PATCH_WRKSRC}/cmake/modules/*.cmake
- ${REINPLACE_CMD} -e 's|%%KDE4_PREFIX%%|${KDE4_PREFIX}|g' \
+ ${REINPLACE_CMD} -e 's|%%KDE_PREFIX%%|${KDE_PREFIX}|g' \
${PATCH_WRKSRC}/cmake/modules/FindQGpgme.cmake
# Prevent updating MIME during build.
${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d' \
diff --git a/deskutils/kdepimlibs4/files/patch-cmake__modules__FindQGpgme.cmake b/deskutils/kdepimlibs4/files/patch-cmake__modules__FindQGpgme.cmake
index 546628a30d0d..67d17cc2334c 100644
--- a/deskutils/kdepimlibs4/files/patch-cmake__modules__FindQGpgme.cmake
+++ b/deskutils/kdepimlibs4/files/patch-cmake__modules__FindQGpgme.cmake
@@ -5,12 +5,12 @@
else ( WIN32 )
find_library(_QGPGME_EXTRA_LIBRARY gpgme++-pthread
- HINTS ${GPGME_LIBRARY_DIR})
-+ HINTS ${GPGME_LIBRARY_DIR} %%KDE4_PREFIX%%/lib)
++ HINTS ${GPGME_LIBRARY_DIR} %%KDE_PREFIX%%/lib)
endif()
-
+
find_library(QGPGME_LIBRARY qgpgme
- HINTS ${GPGME_LIBRARY_DIR})
-+ HINTS ${GPGME_LIBRARY_DIR} %%KDE4_PREFIX%%/lib)
-
++ HINTS ${GPGME_LIBRARY_DIR} %%KDE_PREFIX%%/lib)
+
if (QGPGME_LIBRARY)
# get the libdirectory and then go one up