From owner-svn-ports-head@FreeBSD.ORG Thu Dec 4 15:09:41 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5C4A1A3D; Thu, 4 Dec 2014 15:09:41 +0000 (UTC) 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 48905142; Thu, 4 Dec 2014 15:09:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sB4F9fJa067579; Thu, 4 Dec 2014 15:09:41 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sB4F9fMT067578; Thu, 4 Dec 2014 15:09:41 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201412041509.sB4F9fMT067578@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 4 Dec 2014 15:09:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r373939 - head/databases/p5-Tie-LevelDB 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.18-1 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: Thu, 04 Dec 2014 15:09:41 -0000 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 + +.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 - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 -BROKEN= Does not build on FreeBSD 10.0+ -.endif - .include