From owner-svn-ports-head@FreeBSD.ORG Sat Sep 28 01:14:07 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 134DB3BB; Sat, 28 Sep 2013 01:14:07 +0000 (UTC) (envelope-from eadler@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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 016A1262E; Sat, 28 Sep 2013 01:14:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8S1E6IW088183; Sat, 28 Sep 2013 01:14:06 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8S1E6E5088182; Sat, 28 Sep 2013 01:14:06 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201309280114.r8S1E6E5088182@svn.freebsd.org> From: Eitan Adler Date: Sat, 28 Sep 2013 01:14:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328540 - head/devel/clint 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.14 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: Sat, 28 Sep 2013 01:14:07 -0000 Author: eadler Date: Sat Sep 28 01:14:06 2013 New Revision: 328540 URL: http://svnweb.freebsd.org/changeset/ports/328540 Log: Fix clint to build with how python is currently installed. This builds on my machine but does not build in poudriere. I am still investigating and will commit a complete fix later. Modified: head/devel/clint/Makefile Modified: head/devel/clint/Makefile ============================================================================== --- head/devel/clint/Makefile Sat Sep 28 00:46:09 2013 (r328539) +++ head/devel/clint/Makefile Sat Sep 28 01:14:06 2013 (r328540) @@ -13,12 +13,12 @@ COMMENT= Static source code checker for LICENSE= GPLv2 USE_AUTOTOOLS= libtool -USE_PYTHON= -2.7 +USE_PYTHON= 2.7 GNU_CONFIGURE= yes CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" CONFIGURE_ARGS= --enable-python=${LOCALBASE}/bin/python2 USE_LDCONFIG= yes -MAKE_JOBS_UNSAFE= yes +USE_GCC= any USES= gmake @@ -28,5 +28,7 @@ NO_STAGE= yes post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-ldl||g' + ${REINPLACE_CMD} -E 's,(DEFS = @DEFS@ -I. -I$$\(srcdir\)),\1 -I${LOCALBASE}/include -I${LOCALBASE}/include/${PYTHON_VERSION}/,g' ${WRKSRC}/lib/python/Makefile.in + ${REINPLACE_CMD} -E '100s,$$, -I${LOCALBASE}/include -I${LOCALBASE}/include/${PYTHON_VERSION}/,g' ${WRKSRC}/plugins/python/Makefile.in .include