svn commit: r482202 - in head: lang/php73 security/php73-hash
Jochen Neumeister
joneum at FreeBSD.org
Tue Oct 16 05:14:43 UTC 2018
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 at 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"
More information about the svn-ports-all
mailing list