summaryrefslogtreecommitdiffstats
path: root/debian/patches/40_out-of-tree-build.diff
blob: ac7e581247cc7b9006827332fbc30a7f6c044564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix FTBFS with out-of-tree builds.
Author: Andreas Metzler <ametzler@debian.org>
Origin: vendor
Forwarded: no
Last-Update: 2024-04-21

--- lynx-2.9.1.orig/po/makefile.inn
+++ lynx-2.9.1/po/makefile.inn
@@ -118,7 +118,7 @@ all-yes: $(SOURCES) $(CATALOGS)
 all-no:
 
 en.po :
-	msginit --no-translator -l en -i $(PACKAGE).pot
+	msginit --no-translator -l en -i $(srcdir)/$(PACKAGE).pot
 # cygwin's msginit 1.19.3 creates "en_US.po" rather than "en.po"...
 	@$(SHELL) -c 'for n in en*.po; \
 		do \