aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-11-07 00:06:11 +0800
committermat <mat@FreeBSD.org>2017-11-07 00:06:11 +0800
commit78606b4e182dadbaee6b2fee26eb089e936a0afa (patch)
treede677fe2edfec4ed44717f4c2f76793e4a624f51 /multimedia
parent363b6ebd5f03958fb2946c5086e00426d3eea724 (diff)
downloadfreebsd-ports-gnome-78606b4e182dadbaee6b2fee26eb089e936a0afa.tar.gz
freebsd-ports-gnome-78606b4e182dadbaee6b2fee26eb089e936a0afa.tar.zst
freebsd-ports-gnome-78606b4e182dadbaee6b2fee26eb089e936a0afa.zip
Fix install WITH=KATEDJ.
Sponsored by: Absolight
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libkate/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/libkate/Makefile b/multimedia/libkate/Makefile
index 07c770ee2958..7ab982c58e2a 100644
--- a/multimedia/libkate/Makefile
+++ b/multimedia/libkate/Makefile
@@ -51,7 +51,10 @@ PLIST_SUB+= KATEDJ="@comment "
.endif
post-patch:
-.if ! ${PORT_OPTIONS:MKATEDJ}
+.if ${PORT_OPTIONS:MKATEDJ}
+ @${REINPLACE_CMD} -e 's|PYTHON=python|PYTHON=${PYTHON_CMD}|' \
+ ${WRKSRC}/misc/autotools/py-compile
+.else
@${REINPLACE_CMD} -e \
"s| HAVE_PYTHON_TRUE=$$| HAVE_PYTHON_TRUE='#'|; \
s| HAVE_PYTHON_FALSE=\'#\'$$| HAVE_PYTHON_FALSE=|" \