svn commit: r336781 - branches/2014Q1/devel/coccinelle

Bryan Drewery bdrewery at FreeBSD.org
Tue Dec 17 22:02:10 UTC 2013


Author: bdrewery
Date: Tue Dec 17 22:02:10 2013
New Revision: 336781
URL: http://svnweb.freebsd.org/changeset/ports/336781

Log:
  MFH r336748:
  
    - Fix the usage of 'python' to get rid of the implicit lang/python
      dependency
    - Fix the PCRE detection, while here

Modified:
  branches/2014Q1/devel/coccinelle/Makefile
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/devel/coccinelle/Makefile
==============================================================================
--- branches/2014Q1/devel/coccinelle/Makefile	Tue Dec 17 22:01:03 2013	(r336780)
+++ branches/2014Q1/devel/coccinelle/Makefile	Tue Dec 17 22:02:10 2013	(r336781)
@@ -12,7 +12,7 @@ COMMENT=	Coccinelle is a program matchin
 
 LIB_DEPENDS=	libpcre.so:${PORTSDIR}/devel/pcre
 
-USES=		shebangfix gmake perl5
+USES=		shebangfix gmake perl5 pkgconfig:build
 GNU_CONFIGURE=	yes
 USE_PERL5=	build
 USE_PYTHON=	2.6+
@@ -20,6 +20,7 @@ USE_OCAML=	3.0+
 bash_CMD=	${SH}
 SHEBANG_FILES=	setup/echo.sh
 MAKE_ARGS+=	PYTHON_VERSION=${PYTHON_VER}
+CONFIGURE_ENV+=	PYVER=${PYTHON_VER} PYTHON=${PYTHON_CMD}
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${DATADIR}/dllpcre_stubs.so \


More information about the svn-ports-branches mailing list