aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2017-04-26 00:21:40 -0700
committerH. Peter Anvin <hpa@zytor.com>2017-04-26 00:21:40 -0700
commit4aa13c9e81ae8f20ae65a68ef5d7ac30e67d31f0 (patch)
tree5bfc8ff4176c1eaa6d2b0ca888174988a3829005 /Makefile.in
parent752781f2af43d7992d35eef0394b32dd565cce7f (diff)
downloadnasm-4aa13c9e81ae8f20ae65a68ef5d7ac30e67d31f0.tar.gz
nasm-4aa13c9e81ae8f20ae65a68ef5d7ac30e67d31f0.tar.xz
nasm-4aa13c9e81ae8f20ae65a68ef5d7ac30e67d31f0.zip
Makefile.in: better filter for Perl dependencies
Be a bit smarter about what to require and what to ignore. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 71783af4..1e2f8d59 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -422,8 +422,8 @@ spec: nasm.spec
ALLPERLSRC := $(shell find $(srcdir) -type f -name '*.p[lh]')
perlbreq.si: $(ALLPERLSRC)
- sed -n -r -e 's/^use[[:space:]]+([^[:space:];]+).*$$/BuildRequires: perl(\1)/p' $(ALLPERLSRC) | \
- sed -r -e '/perl\((strict|warnings)\)/d' | \
+ sed -n -r -e 's/^[[:space:]]*use[[:space:]]+([^[:space:];]+).*$$/BuildRequires: perl(\1)/p' $(ALLPERLSRC) | \
+ sed -r -e '/perl\((strict|warnings|Win32.*)\)/d' | \
sort | uniq > perlbreq.si || ( rm -f perlbreq.si ; false )
nasm.spec: nasm.spec.in nasm.spec.sed version.sed perlbreq.si