pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/ripgrep



Module Name:    pkgsrc
Committed By:   pin
Date:           Mon Mar  8 10:26:18 UTC 2021

Modified Files:
        pkgsrc/textproc/ripgrep: Makefile

Log Message:
textproc/ripgrep: fix build fail


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/textproc/ripgrep/Makefile

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

Modified files:

Index: pkgsrc/textproc/ripgrep/Makefile
diff -u pkgsrc/textproc/ripgrep/Makefile:1.14 pkgsrc/textproc/ripgrep/Makefile:1.15
--- pkgsrc/textproc/ripgrep/Makefile:1.14       Fri Mar  5 22:05:56 2021
+++ pkgsrc/textproc/ripgrep/Makefile    Mon Mar  8 10:26:17 2021
@@ -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 @@ USE_TOOLS+=  pkg-config
 
 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