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:
parent
425ab10713
commit
ec3614044c
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue