summaryrefslogtreecommitdiff
path: root/libpsl/libpsl-0.21.0-build-fix.patch
blob: 92bc6cfcc15d4c84fe44cff3b9142ced2026b4b4 (plain)
    1 From 9347024221f4a9d63f9dcafcda13362a7c8d92fe Mon Sep 17 00:00:00 2001
    2 From: Po-Chuan Hsieh <sunpoet@sunpoet.net>
    3 Date: Wed, 17 Apr 2019 13:25:48 +0000
    4 Subject: [PATCH] Fix build when configured with --with-psl-file
    5 
    6 The error message is as follows:
    7 Making all in tests
    8 make: don't know how to make ../list/public_suffix_list.dat. Stop
    9 
   10 make: stopped in /usr/ports/works/usr/ports/dns/libpsl/work/libpsl-libpsl-0.21.0/tests
   11 *** Error code 1
   12 
   13 Stop.
   14 ---
   15  tests/Makefile.am | 4 ++--
   16  1 file changed, 2 insertions(+), 2 deletions(-)
   17 
   18 diff --git a/tests/Makefile.am b/tests/Makefile.am
   19 index 480b236..9c37ce3 100644
   20 --- a/tests/Makefile.am
   21 +++ b/tests/Makefile.am
   22 @@ -33,9 +33,9 @@ TESTS = $(PSL_TESTS)
   23  # dafsa.psl and dafsa_ascii.psl must be created before any test is executed
   24  # check-local target works in parallel to the tests, so the test suite will likely fail
   25  BUILT_SOURCES = psl.dafsa psl_ascii.dafsa
   26 -psl.dafsa: $(top_srcdir)/list/public_suffix_list.dat
   27 +psl.dafsa: $(PSL_FILE)
   28  	$(top_srcdir)/src/psl-make-dafsa --output-format=binary "$(PSL_FILE)" psl.dafsa
   29 -psl_ascii.dafsa: $(top_srcdir)/list/public_suffix_list.dat
   30 +psl_ascii.dafsa: $(PSL_FILE)
   31  	$(top_srcdir)/src/psl-make-dafsa --output-format=binary --encoding=ascii "$(PSL_FILE)" psl_ascii.dafsa
   32  
   33  clean-local:

Generated by cgit