8e022d3cde
Note that this enables the backtracking extension, which we had previously left disabled. PR: 244149, 269425 Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D38421
30 lines
772 B
Makefile
Executable File
30 lines
772 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS := hardening=+all qa=+bug reproducible=+all
|
|
|
|
%:
|
|
dh $@
|
|
|
|
# dh_autoreconf interferes with portability -- skip it
|
|
override_dh_autoreconf:
|
|
echo "skip: dh_autoreconf autoreconf-dickey -- -f -i"
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- \
|
|
--enable-warnings \
|
|
--verbose \
|
|
--enable-stdnoreturn \
|
|
--enable-btyacc \
|
|
--with-max-table-size=123456 \
|
|
--program-transform-name='s,^yacc,byacc2,'
|
|
|
|
# workaround for whatis
|
|
sed -i '/- an LALR/s,^..N,byacc2,' yacc.1
|
|
|
|
# omit tests which rely upon getopt error-messages
|
|
sed -i.bak '/MYFILE=nosuchfile/,/# Test special cases/d' test/run_test.sh
|
|
diff -u test/run_test.sh.bak test/run_test.sh || echo OK
|