[BACK]Return to patch-intl_icu_source_configure CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / spidermonkey52 / patches

File: [cvs.NetBSD.org] / pkgsrc / lang / spidermonkey52 / patches / patch-intl_icu_source_configure (download)

Revision 1.1, Sun Apr 29 05:11:00 2018 UTC (11 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, HEAD

lang/spidermonkey52: import spidermonkey52-52.7.4

SpiderMonkey is the code-name for the Mozilla's C implementation of JavaScript.
This package contains SpiderMonkey 52.

$NetBSD: patch-intl_icu_source_configure,v 1.1 2018/04/29 05:11:00 wiz Exp $

Fix unportable test(1) operator.

--- intl/icu/source/configure.orig	2018-04-28 01:04:03.000000000 +0000
+++ intl/icu/source/configure
@@ -7778,13 +7778,13 @@ fi
 # Now that we're done using CPPFLAGS etc. for tests, we can change it
 # for build.
 
-if test "${CC}" == "clang"; then
+if test "${CC}" = "clang"; then
    CLANGCFLAGS="-Qunused-arguments -Wno-parentheses-equality"
 else
    CLANGCFLAGS=""
 fi
 
-if test "${CXX}" == "clang++"; then
+if test "${CXX}" = "clang++"; then
    CLANGCXXFLAGS="-Qunused-arguments -Wno-parentheses-equality"
 else
    CLANGCXXFLAGS=""