sl: pass LDFLAGS.

This commit is contained in:
Christian Neukirchen 2016-05-24 15:53:18 +02:00
parent 819d0bce73
commit 5e60314a67

View file

@ -1,7 +1,7 @@
# Template file for 'sl' # Template file for 'sl'
pkgname=sl pkgname=sl
version=5.02 version=5.02
revision=1 revision=2
build_style=gnu-makefile build_style=gnu-makefile
makedepends="ncurses-devel" makedepends="ncurses-devel"
short_desc="Correct you if you type (sl) by mistake" short_desc="Correct you if you type (sl) by mistake"
@ -11,6 +11,9 @@ homepage="https://github.com/mtoyoda/sl"
distfiles="https://github.com/mtoyoda/sl/archive/${version}.tar.gz" distfiles="https://github.com/mtoyoda/sl/archive/${version}.tar.gz"
checksum=1e5996757f879c81f202a18ad8e982195cf51c41727d3fea4af01fdcbbb5563a checksum=1e5996757f879c81f202a18ad8e982195cf51c41727d3fea4af01fdcbbb5563a
pre_build() {
CFLAGS+=" $LDFLAGS"
}
do_install(){ do_install(){
vbin sl vbin sl
vman sl.1 vman sl.1