From ec3614044c630ebb3c59af3f344c353d7fc84621 Mon Sep 17 00:00:00 2001 From: jbu Date: Mon, 8 Jun 2015 01:38:05 +0200 Subject: [PATCH] diffutils: revive po/Makefile Since autoreconf is not run, mkdir_p remains undefined (@mkdir_p@). Patch it to get the translations installed. --- srcpkgs/diffutils/template | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/srcpkgs/diffutils/template b/srcpkgs/diffutils/template index 506a858c7b..4024505843 100644 --- a/srcpkgs/diffutils/template +++ b/srcpkgs/diffutils/template @@ -12,3 +12,10 @@ homepage="http://www.gnu.org/software/diffutils" license="GPL-3" distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz" checksum=a25e89a8ab65fded1731e4186be1bb25cda967834b6df973599cdcd5abdfc19c + +post_configure() { + # Since autoreconf is not run, @mkdir_p@ remains undefined + # in po/Makefile. Patch it. + sed -e "s;mkdir_p = @mkdir_p@;mkdir_p = \${MKDIR_P};" \ + -i ${wrksrc}/po/Makefile +}