diff options
| author | Charlie Li <vishwin@FreeBSD.org> | 2023-02-15 20:57:06 +0000 |
|---|---|---|
| committer | Charlie Li <vishwin@FreeBSD.org> | 2023-02-15 21:35:07 +0000 |
| commit | c17ddfbf66e2801ec620d49979aca3d7077d7002 (patch) | |
| tree | 7c8717b62de7a907b3f638cde512f62ca9697752 /lang/python38/Makefile | |
| parent | 9cdba749a89e8c8e4db9070c37dae493f4938726 (diff) | |
Diffstat (limited to 'lang/python38/Makefile')
| -rw-r--r-- | lang/python38/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lang/python38/Makefile b/lang/python38/Makefile index fd476d48aecf..07a565977f73 100644 --- a/lang/python38/Makefile +++ b/lang/python38/Makefile @@ -1,5 +1,6 @@ PORTNAME= python DISTVERSION= ${PYTHON_DISTVERSION} +PORTREVISION= 1 CATEGORIES= lang python MASTER_SITES= PYTHON/ftp/python/${DISTVERSION} PKGNAMESUFFIX= ${PYTHON_SUFFIX} @@ -14,7 +15,8 @@ LICENSE= PSFL LIB_DEPENDS= libffi.so:devel/libffi -USES= cpe ncurses pathfix pkgconfig readline shebangfix ssl tar:xz +USES= cpe ncurses pathfix pkgconfig python:${PYTHON_DISTVERSION:R},env readline \ + shebangfix ssl tar:xz trigger PATHFIX_MAKEFILEIN= Makefile.pre.in USE_LDCONFIG= yes GNU_CONFIGURE= yes @@ -23,11 +25,7 @@ SHEBANG_FILES= Lib/*.py Lib/*/*.py Lib/*/*/*.py Lib/*/*/*/*.py SHEBANG_FILES+= Lib/test/ziptestdata/exe_with_z64 \ Lib/test/ziptestdata/exe_with_zip \ Lib/test/ziptestdata/header.sh - -# Duplicate python.mk variables. TODO: Let lang/python?? ports use python.mk bits. -PYTHON_VER= ${PYTHON_DISTVERSION:R} -PYTHON_VERSION= python${PYTHON_VER} -PYTHON_SUFFIX= ${PYTHON_VER:S/.//g} +TRIGGERS= ${PYTHON_VERSION} DISABLED_EXTENSIONS= _sqlite3 _tkinter _gdbm CONFIGURE_ARGS+= --enable-shared --without-ensurepip \ |
