Changeset View
Changeset View
Standalone View
Standalone View
lang/python35/Makefile
# Created by: Kubilay Kocak <koobs@FreeBSD.org> | # Created by: Kubilay Kocak <koobs@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= python | PORTNAME= python | ||||
DISTVERSION= 3.5.0 | DISTVERSION= ${PYTHON_PORTVERSION} | ||||
PORTREVISION= 1 | PORTREVISION= 1 | ||||
CATEGORIES= lang python ipv6 | CATEGORIES= lang python ipv6 | ||||
MASTER_SITES= PYTHON/ftp/python/${DISTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/} | MASTER_SITES= PYTHON/ftp/python/${PYTHON_PORTVERSION} | ||||
PKGNAMESUFFIX= ${PYTHON_SUFFIX} | PKGNAMESUFFIX= ${PYTHON_SUFFIX} | ||||
DISTNAME= Python-${DISTVERSION} | DISTNAME= Python-${DISTVERSION} | ||||
marino: This change should probably be reverted. I think I thought line 5 was PORTVERSION. It… | |||||
DIST_SUBDIR= python | DIST_SUBDIR= python | ||||
MAINTAINER= python@FreeBSD.org | MAINTAINER= python@FreeBSD.org | ||||
COMMENT= Interpreted object-oriented programming language | COMMENT= Interpreted object-oriented programming language | ||||
LICENSE= PSFL | LICENSE= PSFL | ||||
USES= cpe ncurses pkgconfig readline tar:xz | USES= cpe ncurses pkgconfig readline tar:xz | ||||
USE_OPENSSL= yes | USE_OPENSSL= yes | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CPE_VENDOR= python | CPE_VENDOR= python | ||||
CPE_PRODUCT= ${CPE_VENDOR} | CPE_PRODUCT= ${CPE_VENDOR} | ||||
CPE_VERSION= ${DISTVERSION} | CPE_VERSION= ${DISTVERSION} | ||||
# Duplicate python.mk variables. TODO: Let lang/python?? ports use python.mk bits. | # Duplicate python.mk variables. TODO: Let lang/python?? ports use python.mk bits. | ||||
PYTHON_PORTVERSION= ${DISTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/} | |||||
PYTHON_VER= ${PYTHON_PORTVERSION:R} | PYTHON_VER= ${PYTHON_PORTVERSION:R} | ||||
PYTHON_VERSION= python${PYTHON_VER} | PYTHON_VERSION= python${PYTHON_VER} | ||||
PYTHON_SUFFIX= ${PYTHON_VER:S/.//g} | PYTHON_SUFFIX= ${PYTHON_VER:S/.//g} | ||||
DISABLED_EXTENSIONS= _sqlite3 _tkinter _gdbm | DISABLED_EXTENSIONS= _sqlite3 _tkinter _gdbm | ||||
CONFIGURE_ARGS+= --enable-shared --without-ensurepip | CONFIGURE_ARGS+= --enable-shared --without-ensurepip | ||||
CONFIGURE_ENV+= OPT="" DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS}" # Null out OPT to respect user CFLAGS and remove optimizations | CONFIGURE_ENV+= OPT="" DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS}" # Null out OPT to respect user CFLAGS and remove optimizations | ||||
▲ Show 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
PYMALLOC_CONFIGURE_WITH= pymalloc | PYMALLOC_CONFIGURE_WITH= pymalloc | ||||
THREADS_CONFIGURE_WITH= threads | THREADS_CONFIGURE_WITH= threads | ||||
THREADS_LDFLAGS= -lpthread | THREADS_LDFLAGS= -lpthread | ||||
TSC_CONFIGURE_WITH= tsc | TSC_CONFIGURE_WITH= tsc | ||||
.include "${.CURDIR}/Makefile.version" | |||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${PORT_OPTIONS:MPYMALLOC} | .if ${PORT_OPTIONS:MPYMALLOC} | ||||
ABIFLAGS:= m${ABIFLAGS} | ABIFLAGS:= m${ABIFLAGS} | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MDEBUG} | .if ${PORT_OPTIONS:MDEBUG} | ||||
ABIFLAGS:= d${ABIFLAGS} | ABIFLAGS:= d${ABIFLAGS} | ||||
Show All 37 Lines |
This change should probably be reverted. I think I thought line 5 was PORTVERSION. It probably doesn't matter, but there's no reason to change it either.