components/help2man/patches/Makefile.in.patch
author Rich Burridge <rich.burridge@oracle.com>
Mon, 28 Mar 2016 06:24:55 -0700
changeset 5659 b6e2086f646a
permissions -rw-r--r--
22950949 Update help2man to version 1.47.3

The build process uses a nasty preload hack to allow message catalogs to be
read from the build tree. Now that we've adjusted help2man to use a 64-bit
only version of Perl, we need to adjust the LD_PRELOAD to be LD_PRELOAD_64.

This change will be reported upstream.

--- help2man-1.47.3/Makefile.in.orig	2016-03-16 10:36:34.427067785 -0700
+++ help2man-1.47.3/Makefile.in	2016-03-16 10:36:54.322893757 -0700
@@ -168,7 +168,7 @@
 	lang=$(patsubst $(target).%.1,%,$@); \
 	$(MAKE) $(target) $(preload).so \
 	    localetmp/$$lang/LC_MESSAGES/$(target).mo $(target).$$lang.h2m; \
-	LD_PRELOAD=./$(preload).so LOCALEDIR=localetmp TEXTDOMAIN=help2man \
+	LD_PRELOAD_64=./$(preload).so LOCALEDIR=localetmp TEXTDOMAIN=help2man \
 	    ./$(target) --include=$$($(FIND_VPATH) $(target).$$lang.h2m) \
 		--output=$@ ./$(target)