diff options
author | mat <mat@FreeBSD.org> | 2017-11-07 00:06:11 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2017-11-07 00:06:11 +0800 |
commit | 78606b4e182dadbaee6b2fee26eb089e936a0afa (patch) | |
tree | de677fe2edfec4ed44717f4c2f76793e4a624f51 | |
parent | 363b6ebd5f03958fb2946c5086e00426d3eea724 (diff) | |
download | freebsd-ports-gnome-78606b4e182dadbaee6b2fee26eb089e936a0afa.tar.gz freebsd-ports-gnome-78606b4e182dadbaee6b2fee26eb089e936a0afa.tar.zst freebsd-ports-gnome-78606b4e182dadbaee6b2fee26eb089e936a0afa.zip |
Fix install WITH=KATEDJ.
Sponsored by: Absolight
-rw-r--r-- | multimedia/libkate/Makefile | 5 |
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=|" \ |