diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2017-11-06 16:06:11 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2017-11-06 16:06:11 +0000 |
commit | ad83759c12b7ba20ac7433e98ae3c2e83cb36be4 (patch) | |
tree | de677fe2edfec4ed44717f4c2f76793e4a624f51 /multimedia/libkate | |
parent | 0d4e44ef7f827f63da4088b8e87c48e5487e873f (diff) | |
download | ports-ad83759c12b7ba20ac7433e98ae3c2e83cb36be4.tar.gz ports-ad83759c12b7ba20ac7433e98ae3c2e83cb36be4.zip |
Notes
Diffstat (limited to 'multimedia/libkate')
-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=|" \ |