aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-10-20 08:45:14 +0800
committermnag <mnag@FreeBSD.org>2005-10-20 08:45:14 +0800
commit5a9f35d2c91ff6ec033e338644f00565ef41dbfd (patch)
treefd35558faeec05cc04a61a0cf7bdcae246358cd6 /databases
parent6f07c26f7c9145af89dd1842a43d5e22124a77b4 (diff)
downloadfreebsd-ports-gnome-5a9f35d2c91ff6ec033e338644f00565ef41dbfd.tar.gz
freebsd-ports-gnome-5a9f35d2c91ff6ec033e338644f00565ef41dbfd.tar.zst
freebsd-ports-gnome-5a9f35d2c91ff6ec033e338644f00565ef41dbfd.zip
Respect non standard LOCALBASE
PR: 87665 Submitted by: Dmytro Rud <unixoid@web.de> (maintainer)
Diffstat (limited to 'databases')
-rw-r--r--databases/kinterbasdb/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/kinterbasdb/Makefile b/databases/kinterbasdb/Makefile
index 02a1f0c2fb20..b167fe338565 100644
--- a/databases/kinterbasdb/Makefile
+++ b/databases/kinterbasdb/Makefile
@@ -24,9 +24,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
-
+USE_REINPLACE= yes
USE_GCC= 3.4
PLIST_SUB= INSTALLDIR=lib/${PYTHON_VERSION}/site-packages/${PORTNAME}
+post-extract:
+ @${REINPLACE_CMD} -e "s@DEFAULT_FREEBSD_HOME_DIR = '.*'@DEFAULT_FREEBSD_HOME_DIR = '${LOCALBASE}'@" \
+ ${WRKSRC}/setup.py
+
.include <bsd.port.mk>