aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-tkinter
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2015-05-27 00:47:02 +0800
committerantoine <antoine@FreeBSD.org>2015-05-27 00:47:02 +0800
commitc876321e566d337f0d65aec1ba5f13416139fb1e (patch)
tree7229e877adf880a70b7dabb3af7fa6c66661b721 /x11-toolkits/py-tkinter
parent2eed36e21821defba5b99dd6a0eab524d1f0a58a (diff)
downloadfreebsd-ports-gnome-c876321e566d337f0d65aec1ba5f13416139fb1e.tar.gz
freebsd-ports-gnome-c876321e566d337f0d65aec1ba5f13416139fb1e.tar.zst
freebsd-ports-gnome-c876321e566d337f0d65aec1ba5f13416139fb1e.zip
Switch PYTHON_REL from a 3 digits number to a 4 digits number to handle
python 2.7.10 Differential Revision: https://reviews.freebsd.org/D2639 Reviewed by: sunpoet, mva
Diffstat (limited to 'x11-toolkits/py-tkinter')
-rw-r--r--x11-toolkits/py-tkinter/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-toolkits/py-tkinter/Makefile b/x11-toolkits/py-tkinter/Makefile
index 63e87251de59..8a436a377ff3 100644
--- a/x11-toolkits/py-tkinter/Makefile
+++ b/x11-toolkits/py-tkinter/Makefile
@@ -28,7 +28,7 @@ PYDISTUTILS_INSTALLARGS+= --install-lib ${PYTHON_LIBDIR}/lib-dynload
.include <bsd.port.pre.mk>
post-extract:
-.if ${PYTHON_REL} < 300
+.if ${PYTHON_REL} < 3000
@${SED} -e "s|%%TK_VER%%|${TK_VER}|" ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
.else
@${SED} -e "s|%%TK_VER%%|${TK_VER}|" ${FILESDIR}/setup3.py > ${WRKSRC}/setup.py