pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/warzone2100 warzone2100: Resolve build issues an...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6143cc163a6f
branches: trunk
changeset: 423027:6143cc163a6f
user: nia <nia%pkgsrc.org@localhost>
date: Sat Feb 08 22:59:32 2020 +0000
description:
warzone2100: Resolve build issues and remove leftover GNU build system goo.
diffstat:
games/warzone2100/Makefile | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diffs (47 lines):
diff -r 61dfa172c8b8 -r 6143cc163a6f games/warzone2100/Makefile
--- a/games/warzone2100/Makefile Sat Feb 08 22:36:37 2020 +0000
+++ b/games/warzone2100/Makefile Sat Feb 08 22:59:32 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2020/01/27 19:35:54 triaxx Exp $
+# $NetBSD: Makefile,v 1.33 2020/02/08 22:59:32 nia Exp $
DISTNAME= warzone2100-3.3.0_src
PKGNAME= ${DISTNAME:S/_src//}
@@ -16,8 +16,14 @@
USE_CMAKE= yes
USE_LANGUAGES= c c++
-USE_TOOLS+= pkg-config bison msgfmt intltool gmake gawk flex unzip zip
-FLEX_REQD= 2.5.35
+USE_TOOLS+= pkg-config zip
+USE_TOOLS+= msgfmt msgmerge xgettext
+
+# Could NOT find Gettext: Found unsuitable version "0.16.1", but
+# required is at least "0.18"
+_TOOLS_USE_PKGSRC.msgfmt= yes
+_TOOLS_USE_PKGSRC.msgmerge= yes
+_TOOLS_USE_PKGSRC.xgettext= yes
.include "../../games/warzone2100/options.mk"
@@ -28,10 +34,11 @@
CMAKE_ARGS+= -DCMAKE_MAKE_PROGRAM=${MAKE_PROGRAM} -DWZ_DISTRIBUTOR=pkgsrc
-CFLAGS+= -Wno-error=unused-variable
CFLAGS.NetBSD+= -D_NETBSD_SOURCE
LDFLAGS.DragonFly= -lX11 -lintl
+BUILDLINK_TRANSFORM+= rm:-Werror
+
pre-configure:
${RUN} mkdir -p ${WRKSRC}/build
@@ -50,6 +57,7 @@
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/quesoglc/buildlink3.mk"
.include "../../multimedia/libtheora/buildlink3.mk"
+.include "../../net/miniupnpc/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtscript/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index