From owner-svn-ports-head@freebsd.org Wed Jun 7 08:43:27 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ACAC1BFED78; Wed, 7 Jun 2017 08:43:27 +0000 (UTC) (envelope-from vd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 7A02167588; Wed, 7 Jun 2017 08:43:27 +0000 (UTC) (envelope-from vd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v578hQqH087304; Wed, 7 Jun 2017 08:43:26 GMT (envelope-from vd@FreeBSD.org) Received: (from vd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v578hQKT087303; Wed, 7 Jun 2017 08:43:26 GMT (envelope-from vd@FreeBSD.org) Message-Id: <201706070843.v578hQKT087303@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vd set sender to vd@FreeBSD.org using -f From: Vasil Dimov Date: Wed, 7 Jun 2017 08:43:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442819 - head/databases/galera X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2017 08:43:27 -0000 Author: vd Date: Wed Jun 7 08:43:26 2017 New Revision: 442819 URL: https://svnweb.freebsd.org/changeset/ports/442819 Log: databases/galera: Unbreak on powerpc64 by requesting a newer GCC Also set PORTVERSION, PORTREVISION and GH_TAGNAME conditionally (?=), so they can be overriden from the environment (to ease building custom packages from arbitrary commits on github). Modified: head/databases/galera/Makefile Modified: head/databases/galera/Makefile ============================================================================== --- head/databases/galera/Makefile Wed Jun 7 07:20:31 2017 (r442818) +++ head/databases/galera/Makefile Wed Jun 7 08:43:26 2017 (r442819) @@ -2,8 +2,8 @@ # $FreeBSD$ PORTNAME= galera -PORTVERSION= 25.3.20 -PORTREVISION= 2 +PORTVERSION?= 25.3.20 +PORTREVISION?= 2 CATEGORIES= databases MAINTAINER= devel@galeracluster.com @@ -15,7 +15,6 @@ BUILD_DEPENDS= checkmk:devel/check \ ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs LIB_DEPENDS= libboost_date_time.so:devel/boost-libs -BROKEN_powerpc64= fails to compile: gu_atomic.h: This GCC version does not support 8-byte atomics on this platform. Use GCC >= 4.7.x NOT_FOR_ARCHS= i386 # On i386 older versions of clang produce: # cannot compile this atomic library call yet ... __atomic_add_fetch @@ -33,7 +32,7 @@ USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= codership -GH_TAGNAME= release_${DISTVERSION} +GH_TAGNAME?= release_${DISTVERSION} LDFLAGS+= -lboost_program_options -lboost_system MAKE_ARGS+= --config=force \ @@ -53,6 +52,11 @@ BOOSTPOOL_DESC= Use boost pool allocator BPOSTATIC_DESC= Use static boost_program_options .include + +# COMPILER_TYPE could be empty on older FreeBSD versions. +.if "${COMPILER_TYPE}" == gcc || ${OSVERSION} < 1000000 +USE_GCC= 4.8+ +.endif .if ${PORT_OPTIONS:MBOOSTPOOL} MAKE_ARGS+= boost_pool=1