Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2018 05:14:42 +0000 (UTC)
From:      Jochen Neumeister <joneum@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482202 - in head: lang/php73 security/php73-hash
Message-ID:  <201810160514.w9G5EgwP052783@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: joneum
Date: Tue Oct 16 05:14:42 2018
New Revision: 482202
URL: https://svnweb.freebsd.org/changeset/ports/482202

Log:
  security/php73-hash: fix build with GCC-based architectures
  
  Unbreak this Port on mips64
  
  PR:		232160
  Reported by:	Piotr Kubaj <pkubaj@anongoth.pl>
  Approved by:	tz (implicit)
  Sponsored by:	Netzkommune GmbH

Modified:
  head/lang/php73/Makefile.ext
  head/security/php73-hash/Makefile

Modified: head/lang/php73/Makefile.ext
==============================================================================
--- head/lang/php73/Makefile.ext	Tue Oct 16 00:52:16 2018	(r482201)
+++ head/lang/php73/Makefile.ext	Tue Oct 16 05:14:42 2018	(r482202)
@@ -131,6 +131,11 @@ CONFIGURE_ARGS+=--with-gmp=${LOCALBASE}
 .if ${PHP_MODNAME} == "hash"
 CONFIGURE_ARGS+=--enable-hash \
 		--with-mhash
+CFLAGS_mips64=		-DHAVE_SLOW_HASH3
+CFLAGS_powerpc64=	-DHAVE_SLOW_HASH3
+CFLAGS_powerpc= 	-DHAVE_SLOW_HASH3
+CFLAGS_powerpcspe=	-DHAVE_SLOW_HASH3
+CFLAGS_sparc64=		-DHAVE_SLOW_HASH3
 .endif
 
 .if ${PHP_MODNAME} == "iconv"

Modified: head/security/php73-hash/Makefile
==============================================================================
--- head/security/php73-hash/Makefile	Tue Oct 16 00:52:16 2018	(r482201)
+++ head/security/php73-hash/Makefile	Tue Oct 16 05:14:42 2018	(r482202)
@@ -8,6 +8,4 @@ PKGNAMESUFFIX=	-hash
 
 TEST_TARGET=    test
 
-BROKEN_mips64=		fails to compile: KeccakHash.h: No such file or directory
-
 .include "${MASTERDIR}/Makefile"



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