Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2013 21:34:52 +0200
From:      Jan Beich <jbeich@tormail.org>
To:        Florian Smeets <flo@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r312726 - head/security/nss
Message-ID:  <1U8yOO-000A9E-Sl@internal.tormail.org>
In-Reply-To: <201302211643.r1LGhNVf090332@svn.freebsd.org> (Florian Smeets's message of "Thu, 21 Feb 2013 16:43:23 %2B0000 (UTC)")
References:  <201302211643.r1LGhNVf090332@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Florian Smeets <flo@FreeBSD.org> writes:

> Author: flo
> Date: Thu Feb 21 16:43:22 2013
> New Revision: 312726
> URL: http://svnweb.freebsd.org/changeset/ports/312726
>
> Log:
>   Add support for older FreeBSD released by relying on USE_GCC
>   
>   Requested by:	ale
>   Submitted by:	Jan Beich <jbeich@tormail.org>
>
> Modified:
>   head/security/nss/Makefile
>
> Modified: head/security/nss/Makefile
> ==============================================================================
> --- head/security/nss/Makefile	Thu Feb 21 16:39:36 2013	(r312725)
> +++ head/security/nss/Makefile	Thu Feb 21 16:43:22 2013	(r312726)
> @@ -57,6 +57,10 @@ USE_BINUTILS=	# intel-gcm.s
>  CFLAGS+=	-B${LOCALBASE}/bin
>  .if defined(WITH_CLANG_IS_CC) || ${CC:Mcc} && ${OSVERSION} > 1000023
>  EXTRA_PATCHES+=	${FILESDIR}/extra-bug835050
> +.if ${CC:Mcc} && (${OSVERSION} >= 800000 && ${OSVERSION} < 802503 \
> +	|| ${OSVERSION} < 704101)
> +USE_GCC?=	yes # -mssse3
> +.endif
>  .endif
>  .endif
>  

Why nest within WITH_CLANG_IS_CC block?

--- security/nss/Makefile	ports repo
+++ security/nss/Makefile	gecko repo
@@ -57,12 +57,12 @@ USE_BINUTILS=	# intel-gcm.s
 CFLAGS+=	-B${LOCALBASE}/bin
 .if defined(WITH_CLANG_IS_CC) || ${CC:Mcc} && ${OSVERSION} > 1000023
 EXTRA_PATCHES+=	${FILESDIR}/extra-bug835050
+.endif
 .if ${CC:Mcc} && (${OSVERSION} >= 800000 && ${OSVERSION} < 802503 \
 	|| ${OSVERSION} < 704101)
 USE_GCC?=	yes # -mssse3
 .endif
 .endif
-.endif
 
 check regression-test test:
 	cd ${WRKSRC}/tests;	\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1U8yOO-000A9E-Sl>