Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2019 04:19:23 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r513310 - head/databases/p5-Tie-LevelDB
Message-ID:  <201909300419.x8U4JNRQ095060@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Sep 30 04:19:22 2019
New Revision: 513310
URL: https://svnweb.freebsd.org/changeset/ports/513310

Log:
  Fix build on powerpc* with Clang
  
  PR:		240696
  Submitted by:	pkubaj

Modified:
  head/databases/p5-Tie-LevelDB/Makefile

Modified: head/databases/p5-Tie-LevelDB/Makefile
==============================================================================
--- head/databases/p5-Tie-LevelDB/Makefile	Mon Sep 30 04:19:17 2019	(r513309)
+++ head/databases/p5-Tie-LevelDB/Makefile	Mon Sep 30 04:19:22 2019	(r513310)
@@ -23,14 +23,15 @@ LIB_DEPENDS=	libleveldb.so:databases/leveldb
 USES=		compiler:c++11-lang gmake localbase perl5
 USE_PERL5=	configure
 
+CFLAGS_powerpc=	-DLEVELDB_CSTDATOMIC_PRESENT
+CFLAGS_powerpc64=	-DLEVELDB_CSTDATOMIC_PRESENT
+CFLAGS_powerpcspe=	-DLEVELDB_CSTDATOMIC_PRESENT
 MAKE_ARGS=	CC="${CXX}"
 
 .include <bsd.port.pre.mk>
 
 .if ${CHOSEN_COMPILER_TYPE} == clang
 CFLAGS+=	-Wno-reserved-user-defined-literal
-.else
-CFLAGS+=	-DLEVELDB_CSTDATOMIC_PRESENT
 .endif
 
 post-patch:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909300419.x8U4JNRQ095060>