Index: math/cadabra2/Makefile =================================================================== --- math/cadabra2/Makefile +++ math/cadabra2/Makefile @@ -3,7 +3,7 @@ PORTNAME= cadabra2 PORTVERSION= 2.1.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MAINTAINER= yuri@rawbw.com Index: math/cadabra2/files/patch-core_cadabra2.in =================================================================== --- /dev/null +++ math/cadabra2/files/patch-core_cadabra2.in @@ -0,0 +1,13 @@ +Fix shebang via cmake -- instead of adding + '/usr/bin/env python@PYTHON_POSTFIX' +to python_OLD_CMD, simply let cmake fill in the +copmlete python interpeter name. + +--- core/cadabra2.in.orig 2017-05-16 21:14:04 UTC ++++ core/cadabra2.in +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python@PYTHON_POSTFIX@ ++#!@PYTHON_EXECUTABLE@ + # + # \ingroup pythoncore + #