pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ripgrep textproc/ripgrep: fix build fail



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad0363db866f
branches:  trunk
changeset: 448450:ad0363db866f
user:      pin <pin%pkgsrc.org@localhost>
date:      Mon Mar 08 10:26:17 2021 +0000

description:
textproc/ripgrep: fix build fail

diffstat:

 textproc/ripgrep/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 8b6877e12679 -r ad0363db866f textproc/ripgrep/Makefile
--- a/textproc/ripgrep/Makefile Mon Mar 08 08:47:45 2021 +0000
+++ b/textproc/ripgrep/Makefile Mon Mar 08 10:26:17 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2021/03/05 22:05:56 pin Exp $
+# $NetBSD: Makefile,v 1.15 2021/03/08 10:26:17 pin Exp $
 
 DISTNAME=      ripgrep-12.1.1
 PKGREVISION=   1
@@ -17,6 +17,10 @@
 
 INSTALLATION_DIRS=     bin
 
+RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.pcre2}/lib
+RUSTFLAGS+=    -C link-arg=-L${BUILDLINK_PREFIX.pcre2}/lib
+MAKE_ENV+=     RUSTFLAGS=${RUSTFLAGS:Q}
+
 CARGO_NO_DEFAULT_FEATURES=     YES
 CARGO_FEATURES+=               pcre2
 



Home | Main Index | Thread Index | Old Index