aboutsummaryrefslogtreecommitdiff
path: root/net/libmediawiki
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-03-15 12:35:56 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-03-15 12:35:56 +0000
commit5f54a52585c868129348906dac16633ed8628098 (patch)
treef60db570486be7b15dba2ca7795eedbd4061fffc /net/libmediawiki
parent9e9a36ea741c40ae4b3d10b1c5b9656b1621d518 (diff)
downloadports-5f54a52585c868129348906dac16633ed8628098.tar.gz
ports-5f54a52585c868129348906dac16633ed8628098.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)
Notes
Notes: svn path=/head/; revision=411156
Diffstat (limited to 'net/libmediawiki')
-rw-r--r--net/libmediawiki/Makefile1
-rw-r--r--net/libmediawiki/pkg-plist44
2 files changed, 23 insertions, 22 deletions
diff --git a/net/libmediawiki/Makefile b/net/libmediawiki/Makefile
index b46cd57c4b53..0bd135929dd8 100644
--- a/net/libmediawiki/Makefile
+++ b/net/libmediawiki/Makefile
@@ -2,6 +2,7 @@
PORTNAME= libmediawiki
PORTVERSION= ${DIGIKAM_VER}
+PORTREVISION= 1
CATEGORIES= net kde
MAINTAINER= kde@FreeBSD.org
diff --git a/net/libmediawiki/pkg-plist b/net/libmediawiki/pkg-plist
index 33c1dd3ab048..49b5ae66f5d3 100644
--- a/net/libmediawiki/pkg-plist
+++ b/net/libmediawiki/pkg-plist
@@ -1,25 +1,25 @@
-include/libmediawiki/edit.h
-include/libmediawiki/generalinfo.h
-include/libmediawiki/image.h
-include/libmediawiki/imageinfo.h
-include/libmediawiki/job.h
-include/libmediawiki/login.h
-include/libmediawiki/logout.h
-include/libmediawiki/mediawiki.h
-include/libmediawiki/mediawiki_export.h
-include/libmediawiki/page.h
-include/libmediawiki/parse.h
-include/libmediawiki/protection.h
-include/libmediawiki/queryimageinfo.h
-include/libmediawiki/queryimages.h
-include/libmediawiki/queryinfo.h
-include/libmediawiki/queryrevision.h
-include/libmediawiki/querysiteinfogeneral.h
-include/libmediawiki/querysiteinfousergroups.h
-include/libmediawiki/revision.h
-include/libmediawiki/upload.h
-include/libmediawiki/usergroup.h
-include/libmediawiki/version.h
+include/kde4/libmediawiki/edit.h
+include/kde4/libmediawiki/generalinfo.h
+include/kde4/libmediawiki/image.h
+include/kde4/libmediawiki/imageinfo.h
+include/kde4/libmediawiki/job.h
+include/kde4/libmediawiki/login.h
+include/kde4/libmediawiki/logout.h
+include/kde4/libmediawiki/mediawiki.h
+include/kde4/libmediawiki/mediawiki_export.h
+include/kde4/libmediawiki/page.h
+include/kde4/libmediawiki/parse.h
+include/kde4/libmediawiki/protection.h
+include/kde4/libmediawiki/queryimageinfo.h
+include/kde4/libmediawiki/queryimages.h
+include/kde4/libmediawiki/queryinfo.h
+include/kde4/libmediawiki/queryrevision.h
+include/kde4/libmediawiki/querysiteinfogeneral.h
+include/kde4/libmediawiki/querysiteinfousergroups.h
+include/kde4/libmediawiki/revision.h
+include/kde4/libmediawiki/upload.h
+include/kde4/libmediawiki/usergroup.h
+include/kde4/libmediawiki/version.h
lib/libmediawiki.so
lib/libmediawiki.so.1
lib/libmediawiki.so.1.0.0