Fix install WITH=KATEDJ.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2017-11-06 16:06:11 +00:00
parent 0d4e44ef7f
commit ad83759c12
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=453627

View File

@ -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=|" \