usr/src/cmd/quilt/Patches/02-makefile-install.patch
author Jon Tibble <meths@btinternet.com>
Mon, 04 May 2015 14:04:39 +0100
branchoi_151a
changeset 254 9c2a4ac793f0
parent 0 b34509ac961f
permissions -rw-r--r--
Bash patch catchup including shellshock

(Message quiltdev.in:9)

From:    Dean Roehrich <[email protected]>
Subject: [Quilt-dev] [patch] Use INSTALL when installing LC_MESSAGES files
Date:    Wed, 22 Oct 2008 11:14:10 CDT
To:      [email protected]

I ran into a case solaris ON build 99 where configure found ginstall, but the
Makefile.in used something else, and that led to things going a bit haywire.

Dean


Index: Makefile.in
===================================================================
--- Makefile.in.orig	2008-11-05 14:11:24.269682000 -0600
+++ Makefile.in	2008-11-05 14:15:59.439693000 -0600
@@ -426,8 +426,8 @@ ifeq ($(USE_NLS),yes)
 install-main ::
 	for lang in $(LINGUAS) ; do					\
 		dir=$(BUILD_ROOT)$(localedir)/$$lang/LC_MESSAGES;	\
-		install -d $$dir;					\
-		install -m 644 po/$$lang.mo				\
+		$(INSTALL) -d $$dir;					\
+		$(INSTALL) -m 644 po/$$lang.mo				\
 		    $$dir/quilt.mo ;					\
 	done