From 9c095e631d5b9920cde0bed08160edb543d1f49a Mon Sep 17 00:00:00 2001 From: sthen Date: Mon, 29 Oct 2012 12:14:39 +0000 Subject: [PATCH] fix PYTHON_LIBS setting, pointed out by espie@. - generally avoid using != in port Makefiles, but in particular don't use it in a way where it has a dependency on some other package being installed. --- devel/coccinelle/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/devel/coccinelle/Makefile b/devel/coccinelle/Makefile index f51600803f4..a547a34cc83 100644 --- a/devel/coccinelle/Makefile +++ b/devel/coccinelle/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.17 2012/10/12 20:53:39 sthen Exp $ +# $OpenBSD: Makefile,v 1.18 2012/10/29 12:14:39 sthen Exp $ SHARED_ONLY = Yes @@ -38,11 +38,10 @@ RUN_DEPENDS = devel/ocaml-pcre \ # asks questions at the end if it does better than expected REGRESS_IS_INTERACTIVE = Yes -PYTHON_LIBS != pkg-config --static --libs python - CONFIGURE_STYLE = gnu -CONFIGURE_ENV = MAKE_PROGRAM=${MAKE_PROGRAM} \ - PYTHON_LIBS="${PYTHON_LIBS}" +CONFIGURE_ENV = MAKE_PROGRAM=${MAKE_PROGRAM} +# The PKG_CHECK_MODULES autoconf macro doesn't have a way to use .private +CONFIGURE_ENV += PYTHON_LIBS="`pkg-config --static --libs python`" CONFIGURE_ARGS = --with-python=${MODPY_BIN} USE_GMAKE = Yes