1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

Disable python and tcl support by default. They are really rarely used and

generate too heavy dependencies. WITH_PYTHON and WITH_TCL is still available.

Requested by:	many
This commit is contained in:
Hye-Shik Chang 2003-01-15 05:43:18 +00:00
parent f4cea8f552
commit da9d64febe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73154

View File

@ -28,7 +28,7 @@ MAKE_ENV+= CC=${CC} PCFLAGS="${CFLAGS}" TCLVERSION="${TCL_VERSION}"
PLIST_SUB+= SOVERSION=${SOVERSION} \
EXAMPLESDIR="${EXAMPLESDIR:S,${PREFIX}/,,}"
.if !defined(WITHOUT_PYTHON)
.if defined(WITH_PYTHON)
PYTHONSUFFIX= -${PYTHON_PKGNAMEPREFIX:S/-//}
BUILD_DEPENDS+= ${PYDISTUTILS}
USE_PYTHON= yes
@ -38,7 +38,7 @@ PLIST_SUB+= PYTHONOPT=""
PLIST_SUB+= PYTHONOPT="@comment "
.endif
.if !defined(WITHOUT_TCL)
.if defined(WITH_TCL)
TCLSUFFIX= -${TCL_NODOT}
LIB_DEPENDS+= ${TCL_NODOT}:${PORTSDIR}/lang/${TCL_NODOT}
MAKE_ENV+= WITH_TCL=yes
@ -62,7 +62,7 @@ post-patch:
${REINPLACE_CMD} -e 's,^\(SONAME=\).*,\1${SOVERSION},g' \
${WRKSRC}/configure
.if !defined(WITHOUT_PYTHON)
.if defined(WITH_PYTHON)
post-build:
@cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} ${FILESDIR}/setup.py build