anope: use gnu-make

This commit is contained in:
John 2021-02-08 16:09:02 +01:00
parent c8943cba4e
commit 83d72b0dd4

View file

@ -4,6 +4,7 @@ version=2.0.7
revision=2
wrksrc="${pkgname}-${version}-source"
build_style=cmake
make_cmd=make
configure_args="-DINSTDIR=../install -DRUNGROUP=_anope -DDEFUMASK=077
-DUSE_PCH=OFF"
hostmakedepends="gettext"
@ -25,6 +26,8 @@ if [ "$XBPS_TARGET_LIBC" = musl ]; then
LDFLAGS="-lintl"
fi
export CMAKE_GENERATOR="Unix Makefiles"
pre_configure() {
# prevent cmake from building include/version and running
# because it breaks cross compiling (cmake can't differentiate