crda: fix build

Closes: #10852 [via git-merge-pr]
This commit is contained in:
Helmut Pozimski 2018-01-15 21:16:10 +01:00 committed by Jürgen Buchmüller
parent 122545709e
commit a7cf9b4bef
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'crda' # Template file for 'crda'
pkgname=crda pkgname=crda
version=3.18 version=3.18
revision=4 revision=5
_dbname=wireless-regdb _dbname=wireless-regdb
_dbversion=2016.06.10 _dbversion=2016.06.10
_dbsrc="${XBPS_BUILDDIR}/${_dbname}-${_dbversion}/" _dbsrc="${XBPS_BUILDDIR}/${_dbname}-${_dbversion}/"
@ -27,6 +27,7 @@ post_extract() {
} }
do_build() { do_build() {
CFLAGS+=" -Wno-unused-const-variable"
cd ${_dbsrc} cd ${_dbsrc}
make make
cp *.pem ${wrksrc}/pubkeys cp *.pem ${wrksrc}/pubkeys