svn commit: r518762 - head/x11/squeekboard
Jan Beich
jbeich at FreeBSD.org
Sun Dec 1 09:04:43 UTC 2019
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
More information about the svn-ports-all
mailing list