summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2017-10-10 02:45:46 -0700
committerMichael Forney <mforney@mforney.org>2017-10-10 03:22:25 -0700
commit8bfb60a368487a8ffa1e0b20543becc4bea0806b (patch)
treef2898328c7a9f95099ebe8a6a9ec373d856bfa76 /pkg
parentd676f9545bb66558fbf81a49d32f8bb0edaa8aa9 (diff)
fetch-curl: Allow overriding substitutions
Diffstat (limited to 'pkg')
-rw-r--r--pkg/openbsd/gen.lua12
1 files changed, 6 insertions, 6 deletions
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/*'
+]])