cvm: respect CFLAGS and LDFLAGS, cleanup
This commit is contained in:
parent
cad45acfca
commit
5faaf97d09
1 changed files with 3 additions and 4 deletions
|
@ -1,10 +1,9 @@
|
||||||
# Template file for 'cvm'
|
# Template file for 'cvm'
|
||||||
pkgname=cvm
|
pkgname=cvm
|
||||||
version=0.97
|
version=0.97
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
makedepends="bglibs-devel"
|
makedepends="bglibs-devel"
|
||||||
nocross=yes
|
|
||||||
hostmakedepends="libtool"
|
hostmakedepends="libtool"
|
||||||
short_desc="Credential Validation Modules"
|
short_desc="Credential Validation Modules"
|
||||||
maintainer="bougyman <bougyman@voidlinux.eu>"
|
maintainer="bougyman <bougyman@voidlinux.eu>"
|
||||||
|
@ -17,8 +16,8 @@ pre_build() {
|
||||||
echo '/usr/bin' > conf-bin
|
echo '/usr/bin' > conf-bin
|
||||||
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} ${CFLAGS} -g" > conf-cc
|
||||||
sed -i -e 's|/usr/local/lib|/usr/lib|' conf-ld
|
echo "${CC} ${LDFLAGS}" > conf-ld
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue