diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2020-06-01 20:02:39 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2020-06-01 20:02:39 +0000 |
commit | fd47ec79aa93dd453ab92c08605e143f127d6800 (patch) | |
tree | b82c1e8e3d8f88ad11b1313b3790dee17b29bc5f /math | |
parent | 7e5c2f81598418dec0360af1bf000cffdcdbda7e (diff) |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/scilab/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile index 5c77d6a1e0eb..b5a227f708b2 100644 --- a/math/scilab/Makefile +++ b/math/scilab/Makefile @@ -3,6 +3,7 @@ PORTNAME= scilab PORTVERSION= 6.1.0 +PORTREVISION= 1 CATEGORIES= math cad java MASTER_SITES= https://www.scilab.org/download/${PORTVERSION}/ DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} @@ -145,7 +146,14 @@ post-patch-GUI-on: ${LOCALBASE}/share/java/fop/build \ ${LOCALBASE}/share/java/batik/lib \ ${LOCALBASE}/share/java/jeuclid/repo ,' ${WRKSRC}/configure - @${REINPLACE_CMD} 's|fop\*.jar|fop.jar|' ${WRKSRC}/configure +# Prefer non-versioned files to avoid excessive rebuilds. This also fixes detection of fop. + @${REINPLACE_CMD} 's|batik-all\*\.jar|batik-all.jar|g; \ + s|commons-io\*\.jar|commons-io.jar|g; \ + s|commons-logging\*\.jar|commons-logging.jar|g; \ + s|fop\*\.jar|fop.jar|g; \ + s|jlatexmath\*\.jar|jlatexmath.jar|g; \ + s|xmlgraphics-commons\*\.jar|xmlgraphics-commons.jar|g' \ + ${WRKSRC}/configure # Part of the jogamp-jogl-2.3 patch: @${REINPLACE_CMD} -e 's|javax.media.opengl.glu.GLUnurbs|com.jogamp.opengl.glu.GLUnurbs|' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|jogamp.common.os.MachineDescriptionRuntime|jogamp.common.os.MachineDataInfoRuntime|' ${WRKSRC}/configure |