From 558b6d259baa5af449fbce24711790280e835de5 Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Thu, 26 Jul 2018 09:16:09 +0000 Subject: [PATCH] devel/kore: Use BINARY_ALIAS for finding python3-config after r475350 --- devel/kore/Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/devel/kore/Makefile b/devel/kore/Makefile index ab05e49abc84..229238e5307b 100644 --- a/devel/kore/Makefile +++ b/devel/kore/Makefile @@ -53,6 +53,7 @@ PGSQL_IMPLIES= HTTP PGSQL_MAKE_ARGS= PGSQL=1 PGSQL_USES= pgsql +PYTHON_BINARY_ALIAS= python3-config=${PYTHON_CMD}-config PYTHON_MAKE_ARGS= PYTHON=1 PYTHON_USES= gettext-runtime python:3.6+ @@ -70,13 +71,6 @@ post-patch: -e 's|%%OPENSSLINC%%|${OPENSSLINC}|g' \ ${WRKSRC}/src/cli.c ${WRKSRC}/src/utils.c -post-patch-PYTHON-on: -# BINARY_ALIAS is not an option here because python3?-config will -# find the wrong install prefix when symlinked and would start -# outputting bogus paths inside WRKDIR cf. PR 229749. - @${REINPLACE_CMD} 's,python3-config,${PYTHON_CMD}-config,' \ - ${WRKSRC}/Makefile - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/kore ${STAGEDIR}${PREFIX}/bin/kore${PKGNAMESUFFIX} ${INSTALL_PROGRAM} ${WRKSRC}/kodev/kodev ${STAGEDIR}${PREFIX}/bin/kodev${PKGNAMESUFFIX}