svn commit: r312726 - head/security/nss

Jan Beich jbeich at tormail.org
Fri Feb 22 19:37:56 UTC 2013


Florian Smeets <flo at 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 at 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;	\


More information about the svn-ports-head mailing list