Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2014 15:09:41 +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: r373939 - head/databases/p5-Tie-LevelDB
Message-ID:  <201412041509.sB4F9fMT067578@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Dec  4 15:09:40 2014
New Revision: 373939
URL: https://svnweb.freebsd.org/changeset/ports/373939
QAT: https://qat.redports.org/buildarchive/r373939/

Log:
  - Fix build on FreeBSD 10+

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

Modified: head/databases/p5-Tie-LevelDB/Makefile
==============================================================================
--- head/databases/p5-Tie-LevelDB/Makefile	Thu Dec  4 15:09:10 2014	(r373938)
+++ head/databases/p5-Tie-LevelDB/Makefile	Thu Dec  4 15:09:40 2014	(r373939)
@@ -18,7 +18,13 @@ LIB_DEPENDS=	libleveldb.so:${PORTSDIR}/d
 
 MAKE_ARGS=	CC="${CXX}"
 USE_PERL5=	configure
-USES=		gmake perl5
+USES=		compiler gmake perl5
+
+.include <bsd.port.pre.mk>
+
+.if ${COMPILER_TYPE} == clang
+CFLAGS+=	-Wno-reserved-user-defined-literal
+.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e '/build_detect_platform/d' \
@@ -29,10 +35,4 @@ post-patch:
 		-e 's|g++|${CXX}|' \
 			${WRKSRC}/Makefile.PL
 
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000
-BROKEN=		Does not build on FreeBSD 10.0+
-.endif
-
 .include <bsd.port.post.mk>



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