diff options
Diffstat (limited to 'math/xppaut/Makefile')
-rw-r--r-- | math/xppaut/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/math/xppaut/Makefile b/math/xppaut/Makefile index b6660541a778..57bc593647c8 100644 --- a/math/xppaut/Makefile +++ b/math/xppaut/Makefile @@ -6,7 +6,7 @@ # PORTNAME= xppaut -PORTVERSION= 5.85 +PORTVERSION= 5.91 CATEGORIES= math graphics MASTER_SITES= http://www.math.pitt.edu/~bard/bardware/ DISTNAME= ${PORTNAME}${PORTVERSION} @@ -17,6 +17,7 @@ COMMENT= Graphical tool for solving differential equations, etc MAN1= xppaut.1 USE_X_PREFIX= yes USE_REINPLACE= yes +MAKE_ARGS= CC="${CC}" WRKSRC= ${WRKDIR} @@ -28,4 +29,7 @@ pre-configure: @${REINPLACE_CMD} -e "s|# PORTDOCS||" ${WRKSRC}/Makefile .endif +post-patch: + @(cd ${WRKSRC} && ${REINPLACE_CMD} -e "s|gcc|${CC}|" Makefile libI77/Makefile cvodesrc/Makefile mkavi/Makefile) + .include <bsd.port.mk> |