File: 40_out-of-tree-build.diff

package info (click to toggle)
lynx 2.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 18,024 kB
  • sloc: ansic: 137,142; sh: 4,022; perl: 1,523; makefile: 1,193; yacc: 783
file content (17 lines) | stat: -rw-r--r-- 575 bytes parent folder | download
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: https://lists.nongnu.org/archive/html/lynx-dev/2024-04/msg00038.html
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 \