svn commit: r336748 - head/devel/coccinelle

Marcus von Appen mva at FreeBSD.org
Tue Dec 17 17:55:44 UTC 2013


Author: mva
Date: Tue Dec 17 17:55:43 2013
New Revision: 336748
URL: http://svnweb.freebsd.org/changeset/ports/336748

Log:
  - Fix the usage of 'python' to get rid of the implicit lang/python
    dependency
  - Fix the PCRE detection, while here
  
  Reported by:	exp-run (PR 184591)
  Approved by:	portmgr (blanket)

Modified:
  head/devel/coccinelle/Makefile

Modified: head/devel/coccinelle/Makefile
==============================================================================
--- head/devel/coccinelle/Makefile	Tue Dec 17 17:54:54 2013	(r336747)
+++ head/devel/coccinelle/Makefile	Tue Dec 17 17:55:43 2013	(r336748)
@@ -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-head mailing list