understand Python 3.4.

This commit is contained in:
rpointel 2014-04-13 07:11:10 +00:00
parent d61da32057
commit d097a7853b
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.105 2014/03/09 20:23:44 rpointel Exp $
# $OpenBSD: Makefile.inc,v 1.106 2014/04/13 07:11:10 rpointel Exp $
# IMPORTANT! If you make any changes to the Python ports, be sure
# to also update files/CHANGES.OpenBSD for your change. This is a
@ -75,7 +75,7 @@ WANTLIB-main = bz2 c crypto expat ffi m ncursesw panelw pthread \
${MODGETTEXT_WANTLIB}
.if ${VERSION} == "2.7"
WANTLIB-main += ossaudio
.elif ${VERSION} == "3.3"
.elif ${VERSION} == "3.3" || ${VERSION} == "3.4"
LIB_DEPENDS-main += archivers/xz
WANTLIB-main += lzma
.endif

View File

@ -1,4 +1,4 @@
# $OpenBSD: python.port.mk,v 1.73 2013/10/03 16:28:00 dcoppa Exp $
# $OpenBSD: python.port.mk,v 1.74 2014/04/13 07:11:10 rpointel Exp $
#
# python.port.mk - Xavier Santolaria <xavier@santolaria.net>
# This file is in the public domain.
@ -24,7 +24,8 @@ MODPY_VERSION ?= ${MODPY_DEFAULT_VERSION_2}
# verify if MODPY_VERSION forced is correct
.else
. if ${MODPY_VERSION} != "2.7" && \
${MODPY_VERSION} != "3.3"
${MODPY_VERSION} != "3.3" && \
${MODPY_VERSION} != "3.4"
ERRORS += "Fatal: unknown or unsupported MODPY_VERSION: ${MODPY_VERSION}"
. endif
.endif