pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

glide: Add the usual cargo workaround for adding RPATH.



Module Name:	pkgsrc-wip
Committed By:	Maya Rashish <maya%NetBSD.org@localhost>
Pushed By:	coypu
Date:		Fri Oct 30 21:18:22 2020 +0200
Changeset:	5ee0e6cdadf7ecb1c547fa54d7a8ba10ac21f9f8

Modified Files:
	glide/Makefile

Log Message:
glide: Add the usual cargo workaround for adding RPATH.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5ee0e6cdadf7ecb1c547fa54d7a8ba10ac21f9f8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 glide/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/glide/Makefile b/glide/Makefile
index 758c6c2b2e..bd8425dccf 100644
--- a/glide/Makefile
+++ b/glide/Makefile
@@ -26,6 +26,8 @@ SUBST_SED.prefix+=	-e 's,/usr/bin,${PREFIX},g'
 
 INSTALLATION_DIRS=	bin share
 
+MAKE_ENV+=	RUSTFLAGS="-C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gtk3}/lib"
+
 .include "../../devel/meson/build.mk"
 .include "../../lang/rust/cargo.mk"
 .include "../../devel/glib2/buildlink3.mk"


Home | Main Index | Thread Index | Old Index