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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5659
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
The build process uses a nasty preload hack to allow message catalogs to be
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
read from the build tree. Now that we've adjusted help2man to use a 64-bit
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
only version of Perl, we need to adjust the LD_PRELOAD to be LD_PRELOAD_64.
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
This change will be reported upstream.
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
--- help2man-1.47.3/Makefile.in.orig	2016-03-16 10:36:34.427067785 -0700
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
+++ help2man-1.47.3/Makefile.in	2016-03-16 10:36:54.322893757 -0700
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
@@ -168,7 +168,7 @@
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
 	lang=$(patsubst $(target).%.1,%,$@); \
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
 	$(MAKE) $(target) $(preload).so \
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
 	    localetmp/$$lang/LC_MESSAGES/$(target).mo $(target).$$lang.h2m; \
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
-	LD_PRELOAD=./$(preload).so LOCALEDIR=localetmp TEXTDOMAIN=help2man \
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
+	LD_PRELOAD_64=./$(preload).so LOCALEDIR=localetmp TEXTDOMAIN=help2man \
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
 	    ./$(target) --include=$$($(FIND_VPATH) $(target).$$lang.h2m) \
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
 		--output=$@ ./$(target)
b6e2086f646a 22950949 Update help2man to version 1.47.3
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17