Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jun 2016 19:51:32 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417484 - head/Mk/Uses
Message-ID:  <201606251951.u5PJpWtE090793@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Jun 25 19:51:32 2016
New Revision: 417484
URL: https://svnweb.freebsd.org/changeset/ports/417484

Log:
  Reduce a little bit foot shooting for people installing python 3 ports using
  PYTHON_ABIVER/PYTHON_INCLUDEDIR, when they use default options for
  lang/python3x, by providing a reasonable default value to PYTHON_ABIVER
  
  With hat:	portmgr

Modified:
  head/Mk/Uses/python.mk

Modified: head/Mk/Uses/python.mk
==============================================================================
--- head/Mk/Uses/python.mk	Sat Jun 25 19:46:53 2016	(r417483)
+++ head/Mk/Uses/python.mk	Sat Jun 25 19:51:32 2016	(r417484)
@@ -407,8 +407,13 @@ PYTHON_REL=	${PYTHON_PORTVERSION:C/^([0-
 
 # Might be overridden by calling ports
 PYTHON_CMD?=		${_PYTHON_BASECMD}${_PYTHON_VERSION}
-.if exists(${PYTHON_CMD}-config) && ${PYTHON_VER} != 2.7
+.if ${PYTHON_VER} != 2.7
+.if exists(${PYTHON_CMD}-config)
 PYTHON_ABIVER!=		${PYTHON_CMD}-config --abiflags
+.else
+# Default ABI flags for lang/python3x ports
+PYTHON_ABIVER=		m
+.endif
 .endif
 
 .if !defined(PYTHONBASE)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606251951.u5PJpWtE090793>