diff --git a/audio/idjc/Makefile b/audio/idjc/Makefile index 7628cf3570b4..f053a6312e2c 100644 --- a/audio/idjc/Makefile +++ b/audio/idjc/Makefile @@ -47,7 +47,7 @@ DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} pre-install: ${REINPLACE_CMD} 's|libvorbis.so.0|libvorbis.so|' \ ${WRKSRC}/python/format.py - ${REINPLACE_CMD} 's|#! /usr/local/bin/python2.72.7|#\!${LOCALBASE}/bin/${PYTHON_VERSION}|' \ + ${REINPLACE_CMD} 's|#! /usr/local/bin/python2.72.7|#\!${PYTHON_CMD}|' \ ${WRKSRC}/idjc .include diff --git a/net/cyphesis/Makefile b/net/cyphesis/Makefile index 31548aac18b3..b3be928a1177 100644 --- a/net/cyphesis/Makefile +++ b/net/cyphesis/Makefile @@ -49,7 +49,7 @@ post-patch: ${REINPLACE_CMD} -e 's|$$(datadir)/cyphesis|${DATADIR}|g ; \ s|confbackupdir = .*|confbackupdir = ${DOCSDIR}/conf|g' @${REINPLACE_CMD} -e 's|/bash|/sh|' ${WRKSRC}/scripts/extract_revision.sh - @${REINPLACE_CMD} -e '1s|python|${LOCALBASE}/bin/${PYTHON_VERSION}|' ${WRKSRC}/scripts/gen_buildid.py + @${REINPLACE_CMD} -e '1s|python|${PYTHON_CMD}|' ${WRKSRC}/scripts/gen_buildid.py @${REINPLACE_CMD} -e 's/#ifdef __APPLE__/#if defined(__APPLE__) || defined(__FreeBSD__)/g; \ s/#ifndef __APPLE__/#if !defined(__APPLE__) \&\& !defined(__FreeBSD__)/g' \ ${WRKSRC}/common/system.cpp \ diff --git a/textproc/codespell/Makefile b/textproc/codespell/Makefile index 620a92cb5db9..2ebc1eccf04f 100644 --- a/textproc/codespell/Makefile +++ b/textproc/codespell/Makefile @@ -23,7 +23,7 @@ PORTEXAMPLES= * SUB_FILES+= pkg-message do-build: - ${REINPLACE_CMD} 's|#!/usr/bin/env python3|#!${LOCALBASE}/bin/${PYTHON_VERSION}|' \ + ${REINPLACE_CMD} 's|#!/usr/bin/env python3|#!${PYTHON_CMD}|' \ ${WRKSRC}/codespell.py do-install: diff --git a/textproc/py-libxml2/Makefile b/textproc/py-libxml2/Makefile index 16c525b30eb8..1320484796c2 100644 --- a/textproc/py-libxml2/Makefile +++ b/textproc/py-libxml2/Makefile @@ -18,8 +18,8 @@ USE_GNOME+= libxml2 USES+= python:2 gettext-runtime USE_PYTHON= autoplist distutils -CPPFLAGS+= `${PYTHON_VERSION}-config --cflags` -LDFLAGS+= -L${LOCALBASE}/lib `${PYTHON_VERSION}-config --libs` +CPPFLAGS+= `${PYTHON_CMD}-config --cflags` +LDFLAGS+= -L${LOCALBASE}/lib `${PYTHON_CMD}-config --libs` CONFIGURE_ARGS= --with-iconv=${ICONV_PREFIX} \ --with-html-dir=${PREFIX}/share/doc \ --with-html-subdir=${PORTNAME} \ diff --git a/textproc/py3-libxml2/Makefile b/textproc/py3-libxml2/Makefile index ad334737da6f..9926e1371f12 100644 --- a/textproc/py3-libxml2/Makefile +++ b/textproc/py3-libxml2/Makefile @@ -18,8 +18,8 @@ USE_GNOME+= libxml2 USES= python:3 gettext-runtime USE_PYTHON= autoplist distutils -CPPFLAGS+= `${PYTHON_VERSION}-config --cflags` -LDFLAGS+= -L${LOCALBASE}/lib `${PYTHON_VERSION}-config --libs` +CPPFLAGS+= `${PYTHON_CMD}-config --cflags` +LDFLAGS+= -L${LOCALBASE}/lib `${PYTHON_CMD}-config --libs` CONFIGURE_ARGS= --with-iconv=${ICONV_PREFIX} \ --with-html-dir=${PREFIX}/share/doc \ --with-html-subdir=${PORTNAME} \