| @@ -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 | |
4 | DISTNAME= tme-0.8 | | 4 | DISTNAME= tme-0.8 |
5 | PKGREVISION= 39 | | 5 | PKGREVISION= 39 |
6 | CATEGORIES= emulators | | 6 | CATEGORIES= emulators |
7 | MASTER_SITES= http://csail.mit.edu/~fredette/tme/ | | 7 | MASTER_SITES= http://csail.mit.edu/~fredette/tme/ |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | | | 10 | |
11 | MAKE_JOBS_SAFE= no | | 11 | MAKE_JOBS_SAFE= no |
12 | | | 12 | |
13 | HOMEPAGE= http://csail.mit.edu/~fredette/tme/ | | 13 | HOMEPAGE= http://csail.mit.edu/~fredette/tme/ |
14 | COMMENT= The Machine Emulator | | 14 | COMMENT= The Machine Emulator |
15 | | | 15 | |
16 | USE_PKGLOCALEDIR= yes | | 16 | USE_PKGLOCALEDIR= yes |
17 | USE_LIBTOOL= yes | | 17 | USE_LIBTOOL= yes |
18 | GNU_CONFIGURE= yes | | 18 | GNU_CONFIGURE= yes |
19 | USE_TOOLS+= gmake perl:run pkg-config yacc | | 19 | USE_TOOLS+= gmake perl:run pkg-config yacc |
20 | | | 20 | |
| | | 21 | .if empty(CFLAGS:M*-g*) |
21 | CONFIGURE_ARGS+= --disable-debug | | 22 | CONFIGURE_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. |
24 | CONFIGURE_ARGS+= --disable-warnings | | 27 | CONFIGURE_ARGS+= --disable-warnings |
25 | | | 28 | |
26 | BUILDLINK_DEPMETHOD.libXt?= build | | 29 | BUILDLINK_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 |
31 | CWRAPPERS_APPEND.cc+= -fno-strict-aliasing | | 34 | CWRAPPERS_APPEND.cc+= -fno-strict-aliasing |
32 | .endif | | 35 | .endif |
33 | | | 36 | |
34 | PLIST_VARS+= bsd | | 37 | PLIST_VARS+= bsd |