diff options
Diffstat (limited to 'math/algae/Makefile')
-rw-r--r-- | math/algae/Makefile | 38 |
1 files changed, 10 insertions, 28 deletions
diff --git a/math/algae/Makefile b/math/algae/Makefile index 72763582614c..09fbe59b8710 100644 --- a/math/algae/Makefile +++ b/math/algae/Makefile @@ -3,7 +3,7 @@ PORTNAME= algae PORTVERSION= 4.3.6 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -12,35 +12,17 @@ COMMENT= Programming language for numerical analysis LICENSE= GPLv2 -USE_FORTRAN= yes -GNU_CONFIGURE= yes -USE_AUTOTOOLS= autoconf +BROKEN_ia64= does not compile +BROKEN_powerpc= does not compile +BROKEN_sparc64= does not compile -ALGAE_VERSION= ${PORTVERSION} -PLIST_SUB= ALGAE_VERSION=${ALGAE_VERSION} +GNU_CONFIGURE= yes +USES= fortran -LDFLAGS+= -L`${CAT} ${WRKSRC}/LIBDIR`/../../.. -L`${CAT} ${WRKSRC}/LIBDIR` -L${LOCALBASE}/lib -FORTRANLIBS= gfortranbegin gfortran +CONFIGURE_ARGS= --disable-dlmalloc --without-fftw --without-blas \ + --without-lapack --without-bcslib --without-npsol +PLIST_SUB= ALGAE_VERSION=${PORTVERSION} -MAN1= ${PORTNAME}.1 INFO= ${PORTNAME} -NO_STAGE= yes -post-patch: - @${REINPLACE_CMD} -e 's,<malloc\.h>,<stdlib.h>,' \ - ${WRKSRC}/src/mem.h \ - ${WRKSRC}/superlu/sp_coletree.c \ - ${WRKSRC}/superlu/util.h - @${REINPLACE_CMD} -e 's,%%FORTRANLIBS%%,${FORTRANLIBS},' \ - ${WRKSRC}/configure.in - -pre-configure: - @${DIRNAME} `${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR - -.include <bsd.port.pre.mk> - -.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" -BROKEN= does not compile on ${ARCH} -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |