diffutils: revive po/Makefile

Since autoreconf is not run, mkdir_p remains undefined (@mkdir_p@).
Patch it to get the translations installed.
This commit is contained in:
jbu 2015-06-08 01:38:05 +02:00
parent 425ab10713
commit ec3614044c

View file

@ -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
}