Thu Jan 16 10:59:58 2014 UTC ()
Ugly hacks to make it buildable with gcc 4.8 (some need closer investigation
sometime(tm))


(martin)
diff -r1.47 -r1.48 pkgsrc/emulators/tme/Makefile

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

--- pkgsrc/emulators/tme/Makefile 2013/12/28 19:16:47 1.47
+++ pkgsrc/emulators/tme/Makefile 2014/01/16 10:59:58 1.48
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.47 2013/12/28 19:16:47 martin Exp $ 1# $NetBSD: Makefile,v 1.48 2014/01/16 10:59:58 martin Exp $
2# 2#
3 3
4DISTNAME= tme-0.8 4DISTNAME= tme-0.8
5PKGREVISION= 23 5PKGREVISION= 23
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
@@ -17,22 +17,26 @@ USE_PKGLOCALEDIR= yes @@ -17,22 +17,26 @@ USE_PKGLOCALEDIR= yes
17USE_LIBTOOL= yes 17USE_LIBTOOL= yes
18GNU_CONFIGURE= yes 18GNU_CONFIGURE= yes
19USE_TOOLS+= gmake perl:run pkg-config 19USE_TOOLS+= gmake perl:run pkg-config
20 20
21CONFIGURE_ARGS+= --disable-debug 21CONFIGURE_ARGS+= --disable-debug
22 22
23BUILDLINK_DEPMETHOD.libXt?= build 23BUILDLINK_DEPMETHOD.libXt?= build
24 24
25.include "../../mk/compiler.mk" 25.include "../../mk/compiler.mk"
26.if !empty(PKGSRC_COMPILER:Mclang) 26.if !empty(PKGSRC_COMPILER:Mclang)
27_WRAP_EXTRA_ARGS.CC+= -Wno-error=tautological-compare \ 27_WRAP_EXTRA_ARGS.CC+= -Wno-error=tautological-compare \
28 -Wno-error=sometimes-uninitialized \ 28 -Wno-error=sometimes-uninitialized \
29 -Wno-error=unused-function 29 -Wno-error=unused-function
 30.elif !empty(CC_VERSION:Mgcc-4.8.*)
 31_WRAP_EXTRA_ARGS.CC+= -Wno-error=unused-but-set-variable \
 32 -Wno-error=array-bounds \
 33 -fno-strict-aliasing
30.endif 34.endif
31 35
32 36
33.include "../../devel/libltdl/buildlink3.mk" 37.include "../../devel/libltdl/buildlink3.mk"
34.include "../../x11/gtk2/buildlink3.mk" 38.include "../../x11/gtk2/buildlink3.mk"
35.include "../../x11/libSM/buildlink3.mk" 39.include "../../x11/libSM/buildlink3.mk"
36.include "../../x11/libX11/buildlink3.mk" 40.include "../../x11/libX11/buildlink3.mk"
37.include "../../x11/libXt/buildlink3.mk" 41.include "../../x11/libXt/buildlink3.mk"
38.include "../../mk/bsd.pkg.mk" 42.include "../../mk/bsd.pkg.mk"