Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2013 17:55:44 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336748 - head/devel/coccinelle
Message-ID:  <201312171755.rBHHtiFk076943@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



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