Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 2019 09:04:43 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518762 - head/x11/squeekboard
Message-ID:  <201912010904.xB194hsG009428@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Dec  1 09:04:43 2019
New Revision: 518762
URL: https://svnweb.freebsd.org/changeset/ports/518762

Log:
  x11/squeekboard: drop CARGO_ENV hack
  
  All cargo variables are prefixed, and USES=meson already passes
  environ(7) to ninja. No need to exclude variables anymore as cargo.sh
  adjusts cargo variables for meson to find build artifacts.
  
  Idea from:	games/jaggedalliance2

Modified:
  head/x11/squeekboard/Makefile   (contents, props changed)

Modified: head/x11/squeekboard/Makefile
==============================================================================
--- head/x11/squeekboard/Makefile	Sun Dec  1 08:44:57 2019	(r518761)
+++ head/x11/squeekboard/Makefile	Sun Dec  1 09:04:43 2019	(r518762)
@@ -25,7 +25,7 @@ USE_GNOME=	cairo gdkpixbuf2 gtk30
 GL_SITE=	https://source.puri.sm
 GL_ACCOUNT=	Librem5
 GL_COMMIT=	579ba8ab87f395c550eede40922b498feb245300
-MAKE_ENV=	CARGO_ENV='${CARGO_ENV:N*TARGET_DIR*}'
+MAKE_ENV=	${CARGO_ENV}
 PLIST_FILES=	bin/${PORTNAME} \
 		bin/${PORTNAME}-real \
 		share/applications/sm.puri.Squeekboard.desktop
@@ -83,7 +83,7 @@ post-patch:
 # Add --verbose after each cargo subcommand
 # Don't use BSD realpath(1) against non-existing files
 	@${REINPLACE_CMD} -e '/^cargo/ { \
-		  s,^,cmd=$$1; shift; eval export $$CARGO_ENV; ,; \
+		  s,^,cmd=$$1; shift; ,; \
 		  s,"$$@","$$cmd" --verbose &,; }' \
 		-e '/OUT_PATH=/s,=.*,=$$PWD/$$1,' \
 		${WRKSRC}/cargo*.sh



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