Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2013 01:14:06 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328540 - head/devel/clint
Message-ID:  <201309280114.r8S1E6E5088182@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>



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