diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template index df71c66a716..b2232f7f78c 100644 --- a/srcpkgs/bftpd/template +++ b/srcpkgs/bftpd/template @@ -1,7 +1,7 @@ # Template file for 'bftpd' pkgname=bftpd version=4.4 -revision=3 +revision=4 wrksrc="$pkgname" build_style=gnu-configure configure_args="--enable-libz" @@ -11,7 +11,11 @@ maintainer="Norbert Vegh " license="GPL-2" homepage="http://bftpd.sourceforge.net/" checksum=b805ebbdd3de993ca14d733ad9ad007ac342a1646b257d91a53ec87a36c7f741 -distfiles=${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz +distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz" + +pre_build() { + sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile +} do_install() { sed -i 's,sbin,bin,g' Makefile