pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kwindowsystem: don't leak buildlink include directory
Module Name: pkgsrc-wip
Committed By: Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By: tnn
Date: Sat Oct 24 19:17:52 2015 +0200
Changeset: 67d10eaea1a900b1ca653d79cdca711798c274a0
Modified Files:
kwindowsystem/Makefile
Log Message:
kwindowsystem: don't leak buildlink include directory
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=67d10eaea1a900b1ca653d79cdca711798c274a0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
kwindowsystem/Makefile | 10 ++++++++++
1 file changed, 10 insertions(+)
diffs:
diff --git a/kwindowsystem/Makefile b/kwindowsystem/Makefile
index 99011da..50c193c 100644
--- a/kwindowsystem/Makefile
+++ b/kwindowsystem/Makefile
@@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.1 2015/04/11 13:00:41 krytarowski Exp $
DISTNAME= kwindowsystem-5.9.0
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://download.kde.org/stable/frameworks/5.9/
EXTRACT_SUFX= .tar.xz
@@ -12,6 +13,15 @@ LICENSE= gnu-lgpl-v2.1
USE_CMAKE= yes
USE_LANGUAGES= c c++
+USE_TOOLS+= pkg-config
+
+# don't leak buildlink reference in INTERFACE_INCLUDE_DIRECTORIES
+# leaked by cmake find_package(X11), better fix welcome.
+SUBST_CLASSES+= fix-paths
+SUBST_STAGE.fix-paths= post-configure
+SUBST_MESSAGE.fix-paths= Cleaning up INTERFACE_INCLUDE_DIRECTORIES
+SUBST_FILES.fix-paths= CMakeFiles/Export/lib/cmake/KF5WindowSystem/KF5WindowSystemTargets.cmake
+SUBST_SED.fix-paths= -e 's,${BUILDLINK_DIR},${X11BASE},g'
.include "../../x11/qt5-qtx11extras/buildlink3.mk"
.include "../../wip/extra-cmake-modules/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index