pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/nono nono: Honor pkgsrc settings. Don't use ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e03f1601136a
branches:  trunk
changeset: 442770:e03f1601136a
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Nov 30 12:08:55 2020 +0000

description:
nono: Honor pkgsrc settings. Don't use -Werror. Set RESTRICTED.

diffstat:

 emulators/nono/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 5a67ad29d18c -r e03f1601136a emulators/nono/Makefile
--- a/emulators/nono/Makefile   Mon Nov 30 11:59:18 2020 +0000
+++ b/emulators/nono/Makefile   Mon Nov 30 12:08:55 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/11/27 13:09:37 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2020/11/30 12:08:55 nia Exp $
 
 DISTNAME=      nono-0.1.4
 CATEGORIES=    emulators
@@ -9,6 +9,13 @@
 COMMENT=       OMRON LUNA-I emulator
 LICENSE=       nono-license
 
+# Honor pkgsrc settings. Don't use -Werror.
+MAKE_FLAGS+=   CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+=   CXXFLAGS=${CXXFLAGS:Q}
+MAKE_FLAGS+=   LDFLAGS="${LDFLAGS} -pthread"
+
+RESTRICTED=    License disallows binary redistribution
+
 NO_BIN_ON_CDROM=       ${RESTRICTED}
 NO_BIN_ON_FTP=         ${RESTRICTED}
 



Home | Main Index | Thread Index | Old Index