Index: Makefile =================================================================== RCS file: /cvsroot/pkgsrc/emulators/tme/Makefile,v retrieving revision 1.59 diff -p -u -r1.59 Makefile --- Makefile 13 Sep 2015 15:08:09 -0000 1.59 +++ Makefile 1 Apr 2016 12:28:36 -0000 @@ -18,30 +18,14 @@ USE_LIBTOOL= yes GNU_CONFIGURE= yes USE_TOOLS+= gmake perl:run pkg-config yacc -CONFIGURE_ARGS+= --disable-debug +CONFIGURE_ARGS+= --disable-debug --disable-warnings BUILDLINK_DEPMETHOD.libXt?= build .include "../../mk/compiler.mk" -.if !empty(PKGSRC_COMPILER:Mclang) -_WRAP_EXTRA_ARGS.CC+= -Wno-error=tautological-compare \ - -Wno-error=sometimes-uninitialized \ - -Wno-error=unused-function \ - -Wno-error=absolute-value \ - -Wno-error=pointer-bool-conversion -CWRAPPERS_APPEND.cc+= -Wno-error=tautological-compare \ - -Wno-error=sometimes-uninitialized \ - -Wno-error=unused-function \ - -Wno-error=absolute-value \ - -Wno-error=pointer-bool-conversion -.elif !empty(CC_VERSION:Mgcc-4.8.*) -_WRAP_EXTRA_ARGS.CC+= -Wno-error=unused-but-set-variable \ - -Wno-error=array-bounds \ - -fno-strict-aliasing -CWRAPPERS_APPEND.cc+= -Wno-error=unused-but-set-variable \ - -Wno-error=array-bounds \ - -fno-strict-aliasing - +.if !empty(CC_VERSION:Mgcc-4.8.*) || !empty(CC_VERSION:Mgcc-[56].*) +_WRAP_EXTRA_ARGS.CC+= -fno-strict-aliasing +CWRAPPERS_APPEND.cc+= -fno-strict-aliasing .endif PLIST_VARS+= bsd