Date: Mon, 20 May 2019 19:40:28 +0000 (UTC) From: Adriaan de Groot <adridg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502159 - in head/devel/kf5-kcoreaddons: . files Message-ID: <201905201940.x4KJeSKS023616@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905201940.x4KJeSKS023616>