svn commit: r483821 - in head: lang/php72 security/php72-hash
Jochen Neumeister
joneum at FreeBSD.org
Fri Nov 2 16:12:06 UTC 2018
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 at 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"
More information about the svn-ports-all
mailing list