mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-25 06:52:56 +02:00
twoftpd: use our compiler and flags
This commit is contained in:
parent
334f8ea26e
commit
115e9b6554
1 changed files with 4 additions and 3 deletions
|
@ -1,8 +1,7 @@
|
|||
# Template file for 'twoftpd'
|
||||
pkgname=twoftpd
|
||||
version=1.43
|
||||
revision=3
|
||||
nocross=yes
|
||||
revision=4
|
||||
build_style=gnu-makefile
|
||||
depends="sv-helper ucspi-tcp"
|
||||
makedepends="bglibs-devel cvm-devel"
|
||||
|
@ -20,7 +19,9 @@ pre_build() {
|
|||
echo '/usr/share/man' > conf-man
|
||||
echo '/usr/include' > conf-include
|
||||
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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue