Fri Dec 6 05:38:02 2019 UTC ()
don't --disable-debug if CFLAGS contains -g.


(mrg)
diff -r1.71 -r1.72 pkgsrc/emulators/tme/Makefile

cvs diff -r1.71 -r1.72 pkgsrc/emulators/tme/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/tme/Makefile 2019/08/11 13:20:58 1.71
+++ pkgsrc/emulators/tme/Makefile 2019/12/06 05:38:02 1.72
@@ -1,34 +1,37 @@ @@ -1,34 +1,37 @@
1# $NetBSD: Makefile,v 1.71 2019/08/11 13:20:58 wiz Exp $ 1# $NetBSD: Makefile,v 1.72 2019/12/06 05:38:02 mrg Exp $
2# 2#
3 3
4DISTNAME= tme-0.8 4DISTNAME= tme-0.8
5PKGREVISION= 39 5PKGREVISION= 39
6CATEGORIES= emulators 6CATEGORIES= emulators
7MASTER_SITES= http://csail.mit.edu/~fredette/tme/ 7MASTER_SITES= http://csail.mit.edu/~fredette/tme/
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10 10
11MAKE_JOBS_SAFE= no 11MAKE_JOBS_SAFE= no
12 12
13HOMEPAGE= http://csail.mit.edu/~fredette/tme/ 13HOMEPAGE= http://csail.mit.edu/~fredette/tme/
14COMMENT= The Machine Emulator 14COMMENT= The Machine Emulator
15 15
16USE_PKGLOCALEDIR= yes 16USE_PKGLOCALEDIR= yes
17USE_LIBTOOL= yes 17USE_LIBTOOL= yes
18GNU_CONFIGURE= yes 18GNU_CONFIGURE= yes
19USE_TOOLS+= gmake perl:run pkg-config yacc 19USE_TOOLS+= gmake perl:run pkg-config yacc
20 20
 21.if empty(CFLAGS:M*-g*)
21CONFIGURE_ARGS+= --disable-debug 22CONFIGURE_ARGS+= --disable-debug
 23.endif
 24
22# XXX Turn off -Werror for now; there are a very very large number of 25# XXX Turn off -Werror for now; there are a very very large number of
23# warnings generated, increasing with every compiler version. 26# warnings generated, increasing with every compiler version.
24CONFIGURE_ARGS+= --disable-warnings 27CONFIGURE_ARGS+= --disable-warnings
25 28
26BUILDLINK_DEPMETHOD.libXt?= build 29BUILDLINK_DEPMETHOD.libXt?= build
27 30
28.include "../../mk/compiler.mk" 31.include "../../mk/compiler.mk"
29.if !empty(CC_VERSION:Mgcc-4.[89].*) || !empty(CC_VERSION:Mgcc-[56789].*) 32.if !empty(CC_VERSION:Mgcc-4.[89].*) || !empty(CC_VERSION:Mgcc-[56789].*)
30_WRAP_EXTRA_ARGS.CC+= -fno-strict-aliasing 33_WRAP_EXTRA_ARGS.CC+= -fno-strict-aliasing
31CWRAPPERS_APPEND.cc+= -fno-strict-aliasing 34CWRAPPERS_APPEND.cc+= -fno-strict-aliasing
32.endif 35.endif
33 36
34PLIST_VARS+= bsd 37PLIST_VARS+= bsd