bftpd: pass LDFLAGS to fix pie
This commit is contained in:
parent
9a316aae6a
commit
37f44a2784
|
@ -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 <vegh@norvegh.com>"
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue