svn commit: r328540 - head/devel/clint

Eitan Adler eadler at FreeBSD.org
Sat Sep 28 01:14:07 UTC 2013


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>


More information about the svn-ports-all mailing list