git: c203ca493b7e - 2021Q3 - x11/nwg-launchers: respect PREFIX for pixmaps

Jan Beich jbeich at FreeBSD.org
Mon Jul 19 19:28:23 UTC 2021


The branch 2021Q3 has been updated by jbeich:

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

commit c203ca493b7e3a6ecd419ba578c8595657c76998
Author:     Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-07-19 19:25:29 +0000
Commit:     Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-07-19 19:28:18 +0000

    x11/nwg-launchers: respect PREFIX for pixmaps
    
    (cherry picked from commit ccbd52b189f29fd3808d0ace4e6b4a9d37affd33)
---
 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 at 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
 


More information about the dev-commits-ports-branches mailing list