svn commit: r502159 - in head/devel/kf5-kcoreaddons: . files
Adriaan de Groot
adridg at FreeBSD.org
Mon May 20 19:40:29 UTC 2019
Author: adridg
Date: Mon May 20 19:40:28 2019
New Revision: 502159
URL: https://svnweb.freebsd.org/changeset/ports/502159
Log:
Fix looking for os-release in the face of unusual LOCALBASE
- Use a post-patch inspired by https://reviews.freebsd.org/D19866
- While the previous patch might have been upstreamable, since
we need to patch *anyway* I've given that up.
Submitted by: pkubaj
Deleted:
head/devel/kf5-kcoreaddons/files/
Modified:
head/devel/kf5-kcoreaddons/Makefile
Modified: head/devel/kf5-kcoreaddons/Makefile
==============================================================================
--- head/devel/kf5-kcoreaddons/Makefile Mon May 20 19:35:57 2019 (r502158)
+++ head/devel/kf5-kcoreaddons/Makefile Mon May 20 19:40:28 2019 (r502159)
@@ -2,7 +2,7 @@
PORTNAME= kcoreaddons
DISTVERSION= ${KDE_FRAMEWORKS_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel kde kde-frameworks
MAINTAINER= kde at FreeBSD.org
@@ -29,5 +29,9 @@ INOTIFY_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_INO
FAM_DESC= Filesystem alteration notifications using fam (broken: hangs on NFS)
FAM_USES= fam
FAM_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_FAM
+
+post-patch:
+ ${REINPLACE_CMD} -e '/QStringLiteral/s|/etc/os-release|${LOCALBASE}/etc/os-release|g' \
+ ${WRKSRC}/src/lib/util/kosrelease.cpp
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list