Date: Wed, 6 Feb 2019 00:39:32 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492283 - head/security/sha1collisiondetection Message-ID: <201902060039.x160dWo4053466@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Wed Feb 6 00:39:32 2019 New Revision: 492283 URL: https://svnweb.freebsd.org/changeset/ports/492283 Log: -std=c90 is not supported by base GCC. Replace it with -std=c89, which is equivalent, to fix build on GCC-based architectures. PR: 235536 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Modified: head/security/sha1collisiondetection/Makefile Modified: head/security/sha1collisiondetection/Makefile ============================================================================== --- head/security/sha1collisiondetection/Makefile Wed Feb 6 00:27:17 2019 (r492282) +++ head/security/sha1collisiondetection/Makefile Wed Feb 6 00:39:32 2019 (r492283) @@ -14,9 +14,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_aarch64= fails to compile: generic selections are a C11-specific feature [-Werror,-Wc11-extensions] BROKEN_armv6= fails to compile: generic selections are a C11-specific feature [-Werror,-Wc11-extensions] BROKEN_armv7= fails to compile: generic selections are a C11-specific feature [-Werror,-Wc11-extensions] -BROKEN_mips= fails to compile: cc1: unrecognized command line option -std=c90 -BROKEN_mips64= fails to compile: cc1: unrecognized command line option -std=c90 -BROKEN_powerpc64= fails to compile: cc1: unrecognized command line option -std=c90 USE_GITHUB= yes GH_ACCOUNT= cr-marcstevens @@ -30,6 +27,10 @@ PLIST_FILES= bin/sha1dcsum \ lib/libsha1detectcoll.so \ lib/libsha1detectcoll.so.0 \ lib/libsha1detectcoll.so.0.0.0 + +post-patch: + @${REINPLACE_CMD} -e 's/ -std=c90 / -std=c89 /' ${WRKSRC}/Makefile + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/.libs/sha1dcsum* ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/include/sha1dc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902060039.x160dWo4053466>