diff --git a/graphics/lensfun/Makefile b/graphics/lensfun/Makefile index d1be32797e38..b88a4bd28993 100644 --- a/graphics/lensfun/Makefile +++ b/graphics/lensfun/Makefile @@ -31,7 +31,7 @@ MAKE_ARGS= V=1 # we want to know what's going on during the build PLIST_SUB+= LIBVERSION=${LIBVERSION} post-patch: .SILENT - ${REINPLACE_CMD} -e '1s|#!/usr/bin/python|#!/usr/bin/env python|' \ + ${REINPLACE_CMD} -e '1s|#!/usr/bin/python|#!${PYTHON_CMD}|' \ -e 's|make --version|g&|' -e '/DOXYGEN/d' ${WRKSRC}/configure ${REINPLACE_CMD} -e \ 's|CONF_LIBDIR)pkgconfig|CONF_LIBDIR)../libdata/pkgconfig|' \