aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2005-09-07 23:28:37 +0800
committeradamw <adamw@FreeBSD.org>2005-09-07 23:28:37 +0800
commitf636557526254347d181a108c45a2b2c81c99351 (patch)
tree97b0fc06dae1cbf335547afb96f6bf4b8a1f502c
parent7be4440cfeab3e06d80ad61e3acc172a90cc62e4 (diff)
downloadfreebsd-ports-gnome-f636557526254347d181a108c45a2b2c81c99351.tar.gz
freebsd-ports-gnome-f636557526254347d181a108c45a2b2c81c99351.tar.zst
freebsd-ports-gnome-f636557526254347d181a108c45a2b2c81c99351.zip
Actually convert *all* defined(METAKIT_WITH_PYTHON) instanced to
!defined(METAKIT_WITHOUT_PYTHON). Previous commit obviously totally untested by: me
-rw-r--r--databases/metakit/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/databases/metakit/Makefile b/databases/metakit/Makefile
index f43f1ba61c6d..972f07c53762 100644
--- a/databases/metakit/Makefile
+++ b/databases/metakit/Makefile
@@ -10,7 +10,6 @@ PORTVERSION= 2.4.9.3
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.equi4.com/pub/mk/
-DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ embedded database engine, supports Python and Tcl
@@ -72,7 +71,7 @@ pre-patch:
-e "s/= tclsh/=tclsh${TCL_V}/" -e "s/tcl8.4/tcl${TCL_V}/" \
${WRKSRC}/../unix/Makefile.in
.endif
-.if defined(METAKIT_WITH_PYTHON)
+.if !defined(METAKIT_WITHOUT_PYTHON)
${REINPLACE_CMD} -e "s=python2.[0-9]=${PYTHON_VERSION}=" \
${WRKSRC}/../unix/Makefile.in ${WRKSRC}/../unix/configure
.endif
@@ -88,7 +87,7 @@ post-install:
${PREFIX}/lib/libmk4.so.0
@${LN} -sf libmk4.so.0 ${PREFIX}/lib/libmk4.so
@${MV} ${PREFIX}/lib/libmk4.al ${PREFIX}/lib/libmk4.a
-.if defined(METAKIT_WITH_PYTHON)
+.if !defined(METAKIT_WITHOUT_PYTHON)
@${INSTALL_PROGRAM} ${WRKSRC}/.libs/libmk4py.a ${PREFIX}/lib
@${INSTALL_PROGRAM} ${WRKSRC}/.libs/libmk4py.so ${PREFIX}/lib
.endif