Changeset View
Changeset View
Standalone View
Standalone View
lang/python34/Makefile
Show All 21 Lines | |||||
CPE_VENDOR= python | CPE_VENDOR= python | ||||
CPE_PRODUCT= ${CPE_VENDOR} | CPE_PRODUCT= ${CPE_VENDOR} | ||||
CPE_VERSION= ${PORTVERSION} | CPE_VERSION= ${PORTVERSION} | ||||
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 | ||||
LIBS+= -L${LOCALBASE}/lib | |||||
INSTALL_TARGET= altinstall # Don't want cloberring of unprefixed files | INSTALL_TARGET= altinstall # Don't want cloberring of unprefixed files | ||||
MAKE_ARGS+= INSTALL_SHARED="${INSTALL_LIB}" # Strip shared library | MAKE_ARGS+= INSTALL_SHARED="${INSTALL_LIB}" # Strip shared library | ||||
MAKE_ARGS+= LIBPC="${PREFIX}/libdata/pkgconfig" # Until pathfix gets support for files other than Makefile.in | MAKE_ARGS+= LIBPC="${PREFIX}/libdata/pkgconfig" # Until pathfix gets support for files other than Makefile.in | ||||
PLIST_SUB= ABI=${ABIFLAGS} \ | PLIST_SUB= ABI=${ABIFLAGS} \ | ||||
OSMAJOR=${OSVERSION:C/([0-9]*)[0-9]{5}/\1/} # For plat-freebsd* in pkg-plist. http://bugs.python.org/issue19554 | OSMAJOR=${OSVERSION:C/([0-9]*)[0-9]{5}/\1/} # For plat-freebsd* in pkg-plist. http://bugs.python.org/issue19554 | ||||
Show All 22 Lines | |||||
LIBFFI_LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi | LIBFFI_LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi | ||||
# Use CPPFLAGS over CFLAGS due to -I ordering, causing elementtree and pyexpat | # Use CPPFLAGS over CFLAGS due to -I ordering, causing elementtree and pyexpat | ||||
# to break in Python 2.7, or preprocessor complaints in Python >= 3.3 | # to break in Python 2.7, or preprocessor complaints in Python >= 3.3 | ||||
# Upstream Issue: http://bugs.python.org/issue6299 | # Upstream Issue: http://bugs.python.org/issue6299 | ||||
NLS_USES= gettext | NLS_USES= gettext | ||||
NLS_CPPFLAGS= -I${LOCALBASE}/include | NLS_CPPFLAGS= -I${LOCALBASE}/include | ||||
NLS_LIBS= -L${LOCALBASE}/lib -lintl | NLS_LIBS= -lintl | ||||
NLS_CONFIGURE_ENV_OFF= ac_cv_lib_intl_textdomain=no ac_cv_header_libintl_h=no | NLS_CONFIGURE_ENV_OFF= ac_cv_lib_intl_textdomain=no ac_cv_header_libintl_h=no | ||||
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 | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |