From owner-svn-ports-head@freebsd.org Thu Jul 26 09:16:10 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F96B1048B90; Thu, 26 Jul 2018 09:16:10 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5338D867D5; Thu, 26 Jul 2018 09:16:10 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3545C27097; Thu, 26 Jul 2018 09:16:10 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6Q9GAtA092280; Thu, 26 Jul 2018 09:16:10 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6Q9GArt092279; Thu, 26 Jul 2018 09:16:10 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201807260916.w6Q9GArt092279@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Thu, 26 Jul 2018 09:16:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475355 - head/devel/kore X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/devel/kore X-SVN-Commit-Revision: 475355 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2018 09:16:10 -0000 Author: tobik Date: Thu Jul 26 09:16:09 2018 New Revision: 475355 URL: https://svnweb.freebsd.org/changeset/ports/475355 Log: devel/kore: Use BINARY_ALIAS for finding python3-config after r475350 Modified: head/devel/kore/Makefile Modified: head/devel/kore/Makefile ============================================================================== --- head/devel/kore/Makefile Thu Jul 26 09:12:28 2018 (r475354) +++ head/devel/kore/Makefile Thu Jul 26 09:16:09 2018 (r475355) @@ -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+ @@ -69,13 +70,6 @@ post-patch: @${REINPLACE_CMD} -e 's|%%SUFFIX%%|${PKGNAMESUFFIX}|g' \ -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}