5f54a52585
Install x11/kdelibs4's headers into include/kde4 instead of include (which consequently causes several other ports to have their installation paths changed too). The idea behind this is to reduce path conflicts between KDE4 ports and the upcoming KDE Frameworks 5 ports that will be installed into include/KF5. If we continue installing the KDE4 headers into include/, we can end up in a situation like this: c++ [...] -I/usr/local/include -I/usr/local/include/KF5 file.cpp If the KDE4 and KF5 versions of a port have the same headers, the KDE4 port will unintentionally be picked up first and the build will fail. Most of this huge patch is just PORTREVISION bumps, pkg-plist changes and a few patches to FooConfig.cmake files to make them look into the kde4/ subdirectory in include/. Changes which don't fit into the above are: - deskutils/kdepimlibs4: Import an upstream patch to remove some double semicolons that cause base GCC to fail. They have always been present, but since the faulty header was referenced via -isystem /usr/local/include this never caused any problems. - devel/subversion, devel/subversion18: Update patch-configure. The current kwallet changes there date back to 2011 (r272490), at a time when the build could fail when both KDE3 and KDE4 were installed. Replace those bits with a change I've submitted upstream to use the kde4-config program to determine where KDE4's headers and libraries are installed instead of assuming the headers are always in include/. Once again, huge thanks to Tobias Berner <tcberner@gmail.com> for being the first one to notice this problem when working on the KDE Frameworks 5 ports, coming up with the solution and bugging me until I had time to work on this and ask for the exp-run :-) PR: 207906 (exp-run)
17 lines
452 B
Makefile
17 lines
452 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= kdeconnect-kde
|
|
PORTVERSION= 0.7.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= KDE/unstable/kdeconnect/${PORTVERSION}/src/
|
|
|
|
MAINTAINER= yurkis@gmail.com
|
|
COMMENT= Support for KDE to interface between your phone and your computer
|
|
|
|
USES= cmake compiler:c++0x gettext tar:xz
|
|
USE_KDE4= kdelibs automoc4 workspace runtime
|
|
USE_QT4= corelib gui moc_build qmake_build uic_build rcc_build
|
|
USE_LDCONFIG= yes
|
|
|
|
.include <bsd.port.mk>
|