libdom: use -D_DEFAULT_SOURCE.
This commit is contained in:
parent
d13d9b96ca
commit
725202200f
|
@ -3,7 +3,7 @@ pkgname=libdom
|
||||||
# Use date version to respect previous pkg... omg.
|
# Use date version to respect previous pkg... omg.
|
||||||
_datever=20140428
|
_datever=20140428
|
||||||
version=${_datever}.0.1.1
|
version=${_datever}.0.1.1
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname}-${version#${_datever}.}"
|
wrksrc="${pkgname}-${version#${_datever}.}"
|
||||||
hostmakedepends="pkg-config perl netsurf-buildsystem"
|
hostmakedepends="pkg-config perl netsurf-buildsystem"
|
||||||
makedepends="expat-devel libparserutils-devel libwapcaplet-devel libhubbub-devel"
|
makedepends="expat-devel libparserutils-devel libwapcaplet-devel libhubbub-devel"
|
||||||
|
@ -14,6 +14,10 @@ homepage="http://www.netsurf-browser.org"
|
||||||
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version#${_datever}.}-src.tar.gz"
|
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version#${_datever}.}-src.tar.gz"
|
||||||
checksum=e86c11e313cdfbbe9674ad14125093240e23a2fa9e6f05b996d6b655e40c2dd4
|
checksum=e86c11e313cdfbbe9674ad14125093240e23a2fa9e6f05b996d6b655e40c2dd4
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i 's/_BSD_SOURCE/_DEFAULT_SOURCE/g' Makefile
|
||||||
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs} COMPONENT_TYPE=lib-shared PREFIX=/usr
|
make ${makejobs} COMPONENT_TYPE=lib-shared PREFIX=/usr
|
||||||
make ${makejobs} COMPONENT_TYPE=lib-static PREFIX=/usr
|
make ${makejobs} COMPONENT_TYPE=lib-static PREFIX=/usr
|
||||||
|
|
Loading…
Reference in New Issue