From 66a6b600bb46c84b9006238a590efa166cd58773 Mon Sep 17 00:00:00 2001
From: wiz <wiz@pkgsrc.org>
Date: Wed, 6 Jul 2016 07:21:41 +0000
Subject: Restore PKGSRC_USE_SSP test to the version before the update to
 5.4.0, so it works again (at least for me; if it doesn't for you, please let
 me know).

---
 lang/gcc5/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'lang/gcc5')

diff --git a/lang/gcc5/Makefile b/lang/gcc5/Makefile
index d38fdcab402..9e3359960cf 100644
--- a/lang/gcc5/Makefile
+++ b/lang/gcc5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2016/07/05 18:55:08 ryoon Exp $
+# $NetBSD: Makefile,v 1.11 2016/07/06 07:21:41 wiz Exp $
 
 GCC_PKGNAME=		gcc5
 .include		"version.mk"
@@ -89,7 +89,7 @@ CONFIGURE_ARGS+=	--enable-languages=${LANGS:Q}
 CONFIGURE_ARGS+=	--enable-shared
 CONFIGURE_ARGS+=	--enable-long-long
 CONFIGURE_ARGS+=	--with-local-prefix=${GCC_PREFIX:Q}
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-*) && ${PKGSRC_USE_SSP:Uno} == "no"
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-*) && ${PKGSRC_USE_SSP:Uno} != "no"
 # on NetBSD with stack protector, use the native SSP code in libc
 CONFIGURE_ARGS+=	--disable-libssp
 .else
-- 
cgit v1.2.3