Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jul 2021 19:27:39 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ccbd52b189f2 - main - x11/nwg-launchers: respect PREFIX for pixmaps
Message-ID:  <202107191927.16JJRdob090336@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ccbd52b189f29fd3808d0ace4e6b4a9d37affd33

commit ccbd52b189f29fd3808d0ace4e6b4a9d37affd33
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-07-19 19:25:29 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-07-19 19:27:34 +0000

    x11/nwg-launchers: respect PREFIX for pixmaps
---
 x11/nwg-launchers/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11/nwg-launchers/Makefile b/x11/nwg-launchers/Makefile
index 47b09166d87f..7fce98cf5563 100644
--- a/x11/nwg-launchers/Makefile
+++ b/x11/nwg-launchers/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	nwg-launchers
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.4.4
+PORTREVISION=	1
 CATEGORIES=	x11
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -18,7 +19,7 @@ GH_ACCOUNT=	nwg-piotr
 
 post-patch:
 # Respect PREFIX when looking for .desktop files
-	@${REINPLACE_CMD} 's,/usr/local,${PREFIX},' \
+	@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
 		${WRKSRC}/common/nwg_tools.cc \
 		${WRKSRC}/grid/grid_tools.cc
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107191927.16JJRdob090336>