cvm: respect CFLAGS and LDFLAGS, cleanup

This commit is contained in:
Toyam Cox 2016-05-27 19:14:02 -04:00
parent cad45acfca
commit 5faaf97d09
1 changed files with 3 additions and 4 deletions

View File

@ -1,10 +1,9 @@
# Template file for 'cvm'
pkgname=cvm
version=0.97
revision=1
revision=2
build_style=gnu-makefile
makedepends="bglibs-devel"
nocross=yes
hostmakedepends="libtool"
short_desc="Credential Validation Modules"
maintainer="bougyman <bougyman@voidlinux.eu>"
@ -17,8 +16,8 @@ pre_build() {
echo '/usr/bin' > conf-bin
echo '/usr/include' > conf-include
echo '/usr/lib' > conf-lib
sed -i -e 's|/usr/local/include|/usr/include|' conf-cc
sed -i -e 's|/usr/local/lib|/usr/lib|' conf-ld
echo "${CC} ${CFLAGS} -g" > conf-cc
echo "${CC} ${LDFLAGS}" > conf-ld
}
do_install() {