From 83d72b0dd4e01fdc94f88f9c8995a9c26e1e2107 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 8 Feb 2021 16:09:02 +0100 Subject: [PATCH] anope: use gnu-make --- srcpkgs/anope/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/anope/template b/srcpkgs/anope/template index 42b05622161..56b3d16d304 100644 --- a/srcpkgs/anope/template +++ b/srcpkgs/anope/template @@ -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