Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2018 16:12:05 +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: r483821 - in head: lang/php72 security/php72-hash
Message-ID:  <201811021612.wA2GC5Xb008186@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: joneum
Date: Fri Nov  2 16:12:05 2018
New Revision: 483821
URL: https://svnweb.freebsd.org/changeset/ports/483821

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

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

Modified: head/lang/php72/Makefile.ext
==============================================================================
--- head/lang/php72/Makefile.ext	Fri Nov  2 15:51:49 2018	(r483820)
+++ head/lang/php72/Makefile.ext	Fri Nov  2 16:12:05 2018	(r483821)
@@ -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/php72-hash/Makefile
==============================================================================
--- head/security/php72-hash/Makefile	Fri Nov  2 15:51:49 2018	(r483820)
+++ head/security/php72-hash/Makefile	Fri Nov  2 16:12:05 2018	(r483821)
@@ -6,9 +6,6 @@ MASTERDIR=	${.CURDIR}/../../lang/php72
 
 PKGNAMESUFFIX=	-hash
 
-BROKEN_mips64=		fails to compile: KeccakHash.h: No such file or directory
-BROKEN_powerpc64=	fails to compile: KeccakHash.h: No such file or directory
-
 TEST_TARGET=    test
 
 .include "${MASTERDIR}/Makefile"



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