mdocml: respect our CFLAGS.
This commit is contained in:
parent
81d54a0523
commit
d31d4b44b7
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'mdocml'
|
||||
pkgname=mdocml
|
||||
version=1.13.2
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=configure
|
||||
makedepends="sqlite-devel"
|
||||
provides="man-0_1"
|
||||
|
@ -19,6 +19,9 @@ pre_configure() {
|
|||
sed -i 's,${PREFIX}/man,${PREFIX}/share/man,g' configure
|
||||
sed -i "s,/usr/local,${XBPS_CROSS_BASE}/usr,g" configure
|
||||
}
|
||||
pre_build() {
|
||||
sed -i "s,CFLAGS.* ,& ${CFLAGS},g" Makefile.local
|
||||
}
|
||||
post_install() {
|
||||
# remove devel stuff.
|
||||
rm -rf ${DESTDIR}/usr/{include,lib}
|
||||
|
|
Loading…
Reference in New Issue
Block a user