devel/kore: Use BINARY_ALIAS for finding python3-config after r475350
This commit is contained in:
parent
8abd8d1f6e
commit
558b6d259b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=475355
1 changed files with 1 additions and 7 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue