pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/viewnior viewnior: update msfmt workaround, s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/710a609bbe83
branches:  trunk
changeset: 450195:710a609bbe83
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Apr 12 13:23:05 2021 +0000

description:
viewnior: update msfmt workaround, set PYTHON_FOR_BUILD_ONLY

diffstat:

 graphics/viewnior/Makefile |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 5cc0cbc53291 -r 710a609bbe83 graphics/viewnior/Makefile
--- a/graphics/viewnior/Makefile        Mon Apr 12 13:21:47 2021 +0000
+++ b/graphics/viewnior/Makefile        Mon Apr 12 13:23:05 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2020/08/17 20:19:11 leot Exp $
+# $NetBSD: Makefile,v 1.34 2021/04/12 13:23:05 nia Exp $
 
 DISTNAME=      viewnior-1.7
 PKGREVISION=   1
@@ -17,8 +17,13 @@
 USE_TOOLS+=    pkg-config msgfmt xgettext
 USE_LANGUAGES= c c++
 
-# XXX: msgfmt: unknown option -- desktop
-_TOOLS_USE_PKGSRC.msgfmt=      yes
+.include "../../mk/bsd.prefs.mk"
+# msgfmt: unknown option -- desktop
+.if ${OPSYS} == "NetBSD"
+TOOLS_PLATFORM.msgfmt=
+.endif
+
+PYTHON_FOR_BUILD_ONLY= tool
 
 .include "../../devel/meson/build.mk"
 .include "../../databases/shared-mime-info/buildlink3.mk"



Home | Main Index | Thread Index | Old Index