diff options
author | rakuco <rakuco@FreeBSD.org> | 2016-03-15 20:35:56 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2016-03-15 20:35:56 +0800 |
commit | ae9c5aabc0c6b76683a43271e4ddf0e5722c5dd4 (patch) | |
tree | f60db570486be7b15dba2ca7795eedbd4061fffc /misc | |
parent | 61b3ef9863d7d65d32424389a38cda54a218aaf2 (diff) | |
download | freebsd-ports-gnome-ae9c5aabc0c6b76683a43271e4ddf0e5722c5dd4.tar.gz freebsd-ports-gnome-ae9c5aabc0c6b76683a43271e4ddf0e5722c5dd4.tar.zst freebsd-ports-gnome-ae9c5aabc0c6b76683a43271e4ddf0e5722c5dd4.zip |
Change header installation location for kdelibs4-based ports.
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)
Diffstat (limited to 'misc')
-rw-r--r-- | misc/libkdeedu/Makefile | 1 | ||||
-rw-r--r-- | misc/libkdeedu/pkg-plist | 42 |
2 files changed, 22 insertions, 21 deletions
diff --git a/misc/libkdeedu/Makefile b/misc/libkdeedu/Makefile index f5c9356f6864..735d2eaf95f9 100644 --- a/misc/libkdeedu/Makefile +++ b/misc/libkdeedu/Makefile @@ -2,6 +2,7 @@ PORTNAME= libkdeedu PORTVERSION= ${KDE4_VERSION} +PORTREVISION= 1 CATEGORIES= misc kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} diff --git a/misc/libkdeedu/pkg-plist b/misc/libkdeedu/pkg-plist index 810c95206bff..d7b3a0ec4b77 100644 --- a/misc/libkdeedu/pkg-plist +++ b/misc/libkdeedu/pkg-plist @@ -1,24 +1,24 @@ -include/libkdeedu/keduvocarticle.h -include/libkdeedu/keduvocconjugation.h -include/libkdeedu/keduvoccontainer.h -include/libkdeedu/keduvocdeclension.h -include/libkdeedu/keduvocdocument.h -include/libkdeedu/keduvocexpression.h -include/libkdeedu/keduvocidentifier.h -include/libkdeedu/keduvockvtml2writer.h -include/libkdeedu/keduvocleitnerbox.h -include/libkdeedu/keduvoclesson.h -include/libkdeedu/keduvocmultiplechoice.h -include/libkdeedu/keduvocpersonalpronoun.h -include/libkdeedu/keduvoctext.h -include/libkdeedu/keduvoctranslation.h -include/libkdeedu/keduvocwordflags.h -include/libkdeedu/keduvocwordtype.h -include/libkdeedu/libkeduvocdocument_export.h -include/libkdeedu/qtmml/QtMmlDocument -include/libkdeedu/qtmml/QtMmlWidget -include/libkdeedu/qtmml/qtmmlwidget.h -include/libkdeedu/sharedkvtmlfiles.h +include/kde4/libkdeedu/keduvocarticle.h +include/kde4/libkdeedu/keduvocconjugation.h +include/kde4/libkdeedu/keduvoccontainer.h +include/kde4/libkdeedu/keduvocdeclension.h +include/kde4/libkdeedu/keduvocdocument.h +include/kde4/libkdeedu/keduvocexpression.h +include/kde4/libkdeedu/keduvocidentifier.h +include/kde4/libkdeedu/keduvockvtml2writer.h +include/kde4/libkdeedu/keduvocleitnerbox.h +include/kde4/libkdeedu/keduvoclesson.h +include/kde4/libkdeedu/keduvocmultiplechoice.h +include/kde4/libkdeedu/keduvocpersonalpronoun.h +include/kde4/libkdeedu/keduvoctext.h +include/kde4/libkdeedu/keduvoctranslation.h +include/kde4/libkdeedu/keduvocwordflags.h +include/kde4/libkdeedu/keduvocwordtype.h +include/kde4/libkdeedu/libkeduvocdocument_export.h +include/kde4/libkdeedu/qtmml/QtMmlDocument +include/kde4/libkdeedu/qtmml/QtMmlWidget +include/kde4/libkdeedu/qtmml/qtmmlwidget.h +include/kde4/libkdeedu/sharedkvtmlfiles.h lib/cmake/libkdeedu/LibKdeEduConfig.cmake lib/cmake/libkdeedu/LibKdeEduTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/libkdeedu/LibKdeEduTargets.cmake |