Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jul 2021 19:28:23 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: c203ca493b7e - 2021Q3 - x11/nwg-launchers: respect PREFIX for pixmaps
Message-ID:  <202107191928.16JJSN1r090561@gitrepo.freebsd.org>

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

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

commit c203ca493b7e3a6ecd419ba578c8595657c76998
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: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@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?202107191928.16JJSN1r090561>