Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2017 20:51:33 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431494 - head/security/gnutls
Message-ID:  <201701142051.v0EKpXo2055923@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Jan 14 20:51:32 2017
New Revision: 431494
URL: https://svnweb.freebsd.org/changeset/ports/431494

Log:
  security/gnutls: unbreak aarch64 after r431214
  
  lib/accelerated/aarch64/elf/aes-aarch64.s.tmp.S:5:1: error: unknown directive
  .arch armv8-a+crypto
  ^
  lib/accelerated/aarch64/elf/aes-aarch64.s.tmp.S:49:2: error: instruction requires: crypto
   aese v6.16b,v0.16b
   ^
  
  PR:		216045
  Approved by:	tijl (maintainer)

Modified:
  head/security/gnutls/Makefile   (contents, props changed)

Modified: head/security/gnutls/Makefile
==============================================================================
--- head/security/gnutls/Makefile	Sat Jan 14 19:39:00 2017	(r431493)
+++ head/security/gnutls/Makefile	Sat Jan 14 20:51:32 2017	(r431494)
@@ -20,8 +20,8 @@ LIB_DEPENDS=	libgmp.so:math/gmp \
 BUILD_DEPENDS+=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
 RUN_DEPENDS+=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
 
-USES=		cpe gmake iconv libtool localbase makeinfo pathfix pkgconfig \
-		tar:xz
+USES=		compiler cpe gmake iconv libtool localbase makeinfo \
+		pathfix pkgconfig tar:xz
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-guile \
@@ -64,6 +64,15 @@ ZLIB_CONFIGURE_WITH=	zlib
 
 INFO=		gnutls gnutls-guile
 
+.include <bsd.port.pre.mk>
+
+# XXX CHOSEN_COMPILER_VERSION isn't supported, so check CC hasn't changed
+.if ${ARCH} == aarch64 && ${CC} == cc && \
+    ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 40
+BUILD_DEPENDS+=	as:devel/binutils
+CFLAGS+=	-no-integrated-as
+.endif
+
 post-patch:
 	@${RM} ${WRKSRC}/doc/*.info*
 
@@ -71,4 +80,4 @@ post-install:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/examples/*.[ch] ${STAGEDIR}${EXAMPLESDIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701142051.v0EKpXo2055923>