diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2003-01-15 05:43:18 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2003-01-15 05:43:18 +0000 |
commit | da9d64febead9220405a0fd6111927616c0c14bb (patch) | |
tree | 234e0201451191aac74f67d609458000d96a0aa8 /devel/newt | |
parent | f4cea8f552806099204229c3d94e5d0d802a67ad (diff) | |
download | ports-da9d64febead9220405a0fd6111927616c0c14bb.tar.gz ports-da9d64febead9220405a0fd6111927616c0c14bb.zip |
Notes
Diffstat (limited to 'devel/newt')
-rw-r--r-- | devel/newt/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/newt/Makefile b/devel/newt/Makefile index 001e3bda0cb9..60b69e71c3f8 100644 --- a/devel/newt/Makefile +++ b/devel/newt/Makefile @@ -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 |