From owner-svn-ports-all@FreeBSD.ORG Fri Jun 5 18:56:59 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 91C99AE6; Fri, 5 Jun 2015 18:56:59 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7FC0E10F6; Fri, 5 Jun 2015 18:56:59 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t55IuxXh077280; Fri, 5 Jun 2015 18:56:59 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t55IuxbN077279; Fri, 5 Jun 2015 18:56:59 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201506051856.t55IuxbN077279@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Fri, 5 Jun 2015 18:56:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388607 - head/databases/rocksdb X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2015 18:56:59 -0000 Author: sunpoet Date: Fri Jun 5 18:56:58 2015 New Revision: 388607 URL: https://svnweb.freebsd.org/changeset/ports/388607 Log: - Disable SSE4.2 on i386 architecture to fix i386 builds on FreeBSD package building cluster - Cleanup Makefile: something forgot to removed before committing r388095 Modified: head/databases/rocksdb/Makefile Modified: head/databases/rocksdb/Makefile ============================================================================== --- head/databases/rocksdb/Makefile Fri Jun 5 18:51:47 2015 (r388606) +++ head/databases/rocksdb/Makefile Fri Jun 5 18:56:58 2015 (r388607) @@ -33,12 +33,9 @@ PROGRAMS= db_bench db_repl_stress db_san CFLAGS+= -D_GLIBCXX_USE_C99 .endif -.if ${COMPILER_TYPE} == clang -#CXXFLAGS+= -Wno-shift-count-overflow -.if ${COMPILER_VERSION} >= 36 +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 36 CXXFLAGS+= -Wno-inconsistent-missing-override .endif -.endif post-patch: @${REINPLACE_CMD} -e '/^all: / s| $$(TESTS)||' ${WRKSRC}/Makefile @@ -46,8 +43,9 @@ post-patch: .if defined(WITHOUT_PROFILE) @${REINPLACE_CMD} -e '/pg = / s| -pg||' ${WRKSRC}/Makefile .endif -.if !defined(MACHINE_CPU:Msse42) -# @${REINPLACE_CMD} -e 's| -msse4.2||' ${WRKSRC}/build_tools/build_detect_platform +# Disable SSE4.2 on i386 architecture to fix i386 builds on FreeBSD package building cluster +.if ${ARCH} == i386 + @${REINPLACE_CMD} -e 's|#ifdef __SSE4_2__|&DISABLED__|' ${WRKSRC}/util/crc32c.cc .endif do-install: