aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/kdepimlibs4/Makefile
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-05-23 00:20:31 +0800
committermakc <makc@FreeBSD.org>2010-05-23 00:20:31 +0800
commitb6f2a6c40d48240c9f009e80988270d5cf41e706 (patch)
treedffe2110096b2a9f58c99952df12cb566bc9633a /deskutils/kdepimlibs4/Makefile
parent4da68648d82bc2084aa70f61fc94373f2f827b46 (diff)
downloadfreebsd-ports-gnome-b6f2a6c40d48240c9f009e80988270d5cf41e706.tar.gz
freebsd-ports-gnome-b6f2a6c40d48240c9f009e80988270d5cf41e706.tar.zst
freebsd-ports-gnome-b6f2a6c40d48240c9f009e80988270d5cf41e706.zip
Point pimlibs dependent ports directly to kde4 libraries,
so they don't link with kdepim3. Reported by: Jan Henrik Sylvester <me at janh.de> via kde@freebsd maillist.
Diffstat (limited to 'deskutils/kdepimlibs4/Makefile')
-rw-r--r--deskutils/kdepimlibs4/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/deskutils/kdepimlibs4/Makefile b/deskutils/kdepimlibs4/Makefile
index 09b69a3bc73e..375fa0ef46e5 100644
--- a/deskutils/kdepimlibs4/Makefile
+++ b/deskutils/kdepimlibs4/Makefile
@@ -6,7 +6,7 @@
PORTNAME= kdepimlibs
PORTVERSION= ${KDE4_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= deskutils kde ipv6
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
@@ -40,10 +40,12 @@ PLIST_SUB+= WITH_PTH=''
PLIST_SUB+= WITH_PTH='@comment '
.endif
-post-extract:
+post-patch:
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${PATCH_WRKSRC}/cmake/modules/*.cmake
${REINPLACE_CMD} -e '/find_package/s,PATHS,PATHS ${KDE4_PREFIX}/lib/cmake/Akonadi,' \
${PATCH_WRKSRC}/cmake/modules/FindAkonadi.cmake
+ ${REINPLACE_CMD} -e 's|%%KDE4_PREFIX%%|${KDE4_PREFIX}|g' \
+ ${PATCH_WRKSRC}/cmake/modules/FindQGpgme.cmake
.include <bsd.port.post.mk>