twoftpd: use our compiler and flags
This commit is contained in:
parent
334f8ea26e
commit
115e9b6554
@ -1,8 +1,7 @@
|
|||||||
# Template file for 'twoftpd'
|
# Template file for 'twoftpd'
|
||||||
pkgname=twoftpd
|
pkgname=twoftpd
|
||||||
version=1.43
|
version=1.43
|
||||||
revision=3
|
revision=4
|
||||||
nocross=yes
|
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
depends="sv-helper ucspi-tcp"
|
depends="sv-helper ucspi-tcp"
|
||||||
makedepends="bglibs-devel cvm-devel"
|
makedepends="bglibs-devel cvm-devel"
|
||||||
@ -20,7 +19,9 @@ pre_build() {
|
|||||||
echo '/usr/share/man' > conf-man
|
echo '/usr/share/man' > conf-man
|
||||||
echo '/usr/include' > conf-include
|
echo '/usr/include' > conf-include
|
||||||
echo '/usr/lib' > conf-lib
|
echo '/usr/lib' > conf-lib
|
||||||
sed -i -e 's|/usr/local/include|/usr/include|' conf-cc
|
echo "$CC $LDFLAGS" > conf-ld
|
||||||
|
sed -e 's|/usr/local/include|/usr/include|' -e "s|gcc|$CC $CFLAGS|" \
|
||||||
|
-i conf-cc
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user