lavv17 / lftp

sophisticated command line file transfer program (ftp, http, sftp, fish, torrent)
http://lftp.yar.ru
GNU General Public License v3.0
1.08k stars 159 forks source link

configure.ac: Bump gettext version to 0.21 #727

Closed bdrung closed 2 months ago

bdrung commented 2 months ago

After running autoreconf and configure on Ubuntu 24.04 (noble), the generated po/Makefile will fail to run make install:

$ make install DESTDIR=debian/lftp
[...]
Making install in po
make[4]: Entering directory 'po'
debian/lftp/usr/share
make[4]: debian/lftp/usr/share: Permission denied

This failure is caused by mkdir_p pointing to MKDIR_P but MKDIR_P not being defined in po/Makefile.

Upgrade to gettext version to 0.21. Then po/Makefile will be correct:

MKDIR_P = /usr/bin/mkdir -p
mkdir_p = $(MKDIR_P)