fix mkdir_p problem for diffutils po files

This commit is contained in:
richard 2013-08-21 14:08:08 +00:00
parent a28c30def7
commit d53d3beb1b
2 changed files with 31 additions and 1 deletions

View file

@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.10 2013/05/30 16:31:33 richard Exp $
$NetBSD: distinfo,v 1.11 2013/08/21 14:08:08 richard Exp $
SHA1 (diffutils-3.3.tar.xz) = 6463cce7d3eb73489996baefd0e4425928ecd61e
RMD160 (diffutils-3.3.tar.xz) = 5785f14f89923ad115957b88c0bb4766cd4ededc
Size (diffutils-3.3.tar.xz) = 1197832 bytes
SHA1 (patch-aa) = 20e262ca71fe9ca36933e96f790f553130efcd88
SHA1 (patch-ab) = f875decfb827c10aee02da58012a735a40f3d682
SHA1 (patch-po_Makefile.in.in) = 311daf695a5f84ff703e1659bfc9468ed0c42236

View file

@ -0,0 +1,29 @@
$NetBSD: patch-po_Makefile.in.in,v 1.1 2013/08/21 14:08:08 richard Exp $
some misc fixes in order to get over the automake deprecated
`@mkdir_p@` as well as adverse effects of SHELL in this file.
--- po/Makefile.in.in.orig 2013-03-23 14:51:10.000000000 +0000
+++ po/Makefile.in.in
@@ -15,7 +15,6 @@ PACKAGE = @PACKAGE@
VERSION = @VERSION@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-SHELL = /bin/sh
@SET_MAKE@
srcdir = @srcdir@
@@ -39,10 +38,10 @@ INSTALL_DATA = @INSTALL_DATA@
# In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined
# either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake
# versions, $(mkinstalldirs) and $(install_sh) are unused.
-mkinstalldirs = $(SHELL) @install_sh@ -d
-install_sh = $(SHELL) @install_sh@
+mkinstalldirs = @install_sh@ -d
+install_sh = @install_sh@
MKDIR_P = @MKDIR_P@
-mkdir_p = @mkdir_p@
+mkdir_p = $(MKDIR_P)
GMSGFMT_ = @GMSGFMT@
GMSGFMT_no = @GMSGFMT@