Fix build when configured with --with-psl-file

The error message is as follows:
Making all in tests
make: don't know how to make ../list/public_suffix_list.dat. Stop

make: stopped in /usr/ports/works/usr/ports/dns/libpsl/work/libpsl-libpsl-0.21.0/tests
*** Error code 1

Stop.
This commit is contained in:
Po-Chuan Hsieh 2019-04-17 13:25:48 +00:00
parent 8b913fe484
commit 9347024221
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
1 changed files with 2 additions and 2 deletions

View File

@ -33,9 +33,9 @@ TESTS = $(PSL_TESTS)
# dafsa.psl and dafsa_ascii.psl must be created before any test is executed
# check-local target works in parallel to the tests, so the test suite will likely fail
BUILT_SOURCES = psl.dafsa psl_ascii.dafsa
psl.dafsa: $(top_srcdir)/list/public_suffix_list.dat
psl.dafsa: $(PSL_FILE)
$(top_srcdir)/src/psl-make-dafsa --output-format=binary "$(PSL_FILE)" psl.dafsa
psl_ascii.dafsa: $(top_srcdir)/list/public_suffix_list.dat
psl_ascii.dafsa: $(PSL_FILE)
$(top_srcdir)/src/psl-make-dafsa --output-format=binary --encoding=ascii "$(PSL_FILE)" psl_ascii.dafsa
clean-local: