pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gettext-tools devel/gettext-tools: Remove hack f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8762c5436962
branches:  trunk
changeset: 455606:8762c5436962
user:      rin <rin%pkgsrc.org@localhost>
date:      Wed Jul 07 05:57:30 2021 +0000

description:
devel/gettext-tools: Remove hack for GCC 9 and 10 on alpha. Revision++.

Root cause was in NetBSD and already fixed. See port-alpha/56153.

diffstat:

 devel/gettext-tools/Makefile |   4 ++--
 devel/gettext-tools/hacks.mk |  17 -----------------
 2 files changed, 2 insertions(+), 19 deletions(-)

diffs (37 lines):

diff -r cd87e51a7182 -r 8762c5436962 devel/gettext-tools/Makefile
--- a/devel/gettext-tools/Makefile      Wed Jul 07 00:26:58 2021 +0000
+++ b/devel/gettext-tools/Makefile      Wed Jul 07 05:57:30 2021 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.42 2021/05/07 13:01:58 rin Exp $
+# $NetBSD: Makefile,v 1.43 2021/07/07 05:57:30 rin Exp $
 
 .include "../../devel/gettext/Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/-/-tools-/}
 COMMENT=       Tools for providing messages in different languages
-PKGREVISION=   2
+PKGREVISION=   3
 
 DISTINFO_FILE= ${.CURDIR}/../../devel/gettext/distinfo
 PATCHDIR=      ${.CURDIR}/../../devel/gettext/patches
diff -r cd87e51a7182 -r 8762c5436962 devel/gettext-tools/hacks.mk
--- a/devel/gettext-tools/hacks.mk      Wed Jul 07 00:26:58 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-# $NetBSD: hacks.mk,v 1.1 2021/05/07 13:01:58 rin Exp $
-
-.if !defined(GETTEXT_TOOLS_HACKS_MK)
-GETTEXT_TOOLS_HACKS_MK=        defined
-
-.include "../../mk/compiler.mk"
-
-# GCC 10 and 9 miscompile this for alpha, which results in SIGSEGV for
-# ``env LANG=en_US.UTF-8 /usr/pkg/bin/xgettext --version''.
-.if ${MACHINE_ARCH} == "alpha" && \
-    (!empty(CC_VERSION:Mgcc-10.*) || !empty(CC_VERSION:Mgcc-9.*))
-PKG_HACKS+=    optimisation
-CFLAGS+=       -O0
-CXXFLAGS+=     -O0
-.endif
-
-.endif



Home | Main Index | Thread Index | Old Index