From 8bfb60a368487a8ffa1e0b20543becc4bea0806b Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Tue, 10 Oct 2017 02:45:46 -0700 Subject: fetch-curl: Allow overriding substitutions --- pkg/openbsd/gen.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'pkg') diff --git a/pkg/openbsd/gen.lua b/pkg/openbsd/gen.lua index 68ad276c..09854203 100644 --- a/pkg/openbsd/gen.lua +++ b/pkg/openbsd/gen.lua @@ -87,13 +87,13 @@ exe('yacc', [[usr.bin/yacc/( file('bin/yacc', '755', '$outdir/yacc') man{'usr.bin/yacc/yacc.1'} -fetch('curl', paths[['( - ./( +fetch('curl', paths[[ + -s '/^/src\//' './( bin/pax include lib/(libc/(crypt gen net stdlib string) libcrypto/arc4random) usr.bin/(diff doas fmt nc patch yacc) - )/* - ; - ./sys/sys/* -)']]) + )/*' + ';' + -s '/^/src\//' './sys/sys/*' +]]) -- cgit v1.2.3