pkgsrc/math/octave-current/Makefile
cjep 7b2dd08919 Mark this package as broken for arm32. The package does not build due
to an internal compiler error, even with gcc-2.95.3:
genbet.f:247: internal error--unrecognizable insn:
(insn 56 54 57 (set (reg:SF 1 r1)
        (const_double:SF (mem/u:SF (symbol_ref/u:SI ("*LC4")) 0) 60635201 [0x39d3841] 16384 [0x4000] [2.928064102298758e-291])) -1 (nil)
    (expr_list:REG_EQUAL (const_double:SF (mem/u:SF (symbol_ref/u:SI ("*LC4")) 0) 60635201 [0x39d3841] 16384 [0x4000] [2.928064102298758e-291])
        (nil)))
2002-05-20 23:53:49 +00:00

68 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2002/05/20 23:53:49 cjep Exp $
DISTNAME= octave-2.1.33
PKGNAME= octave-2.1.34
PKGREVISION= 1
CATEGORIES= math
MASTER_SITES= ftp://ftp.che.wisc.edu/pub/octave/bleeding-edge/ \
ftp://ftp.eos.hokudai.ac.jp/pub/GNU/misc/octave/bleeding-edge/ \
ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave/bleeding-edge/ \
ftp://ftp.task.gda.pl/pub/software/octave/bleeding-edge/
EXTRACT_SUFX= .tar.bz2
PATCHFILES= octave-2.1.33-2.1.34.patch.gz
PATCH_SITES= ${MASTER_SITES}
PATCH_DIST_STRIP= -p1
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.che.wisc.edu/octave/
COMMENT= High-level language, primarily intended for numerical computations
BUILD_DEPENDS+= teTeX>=1.0.7:../../print/teTeX
DEPENDS+= gnuplot>=3.7:../../graphics/gnuplot
DEPENDS+= readline>=4.0:../../devel/readline
.if (${MACHINE_ARCH} == "arm32")
BROKEN= Internal compiler error occurs on arm32 (even with gcc-2.95.3)
.endif
USE_X11= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_FORTRAN= yes
USE_GMAKE= yes
CONFIGURE_ARGS+=--with-g77
CONFIGURE_ARGS+=--enable-shared --enable-rpath
CONFIGURE_ARGS+=-prefix=${PREFIX}
CONFIGURE_ENV+= FFLAGS="${CFLAGS}" OBJECT_FMT="${OBJECT_FMT}"
LDFLAGS+= -L${PREFIX}/lib
LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig
INFO_FILES= octave.info liboctave.info
LIBOCTAVE_INFO= liboctave.info liboctave.info-1 \
liboctave.info-2 liboctave.info-3
OCTAVE_DOC= faq/Octave-FAQ.ps interpreter/octave.ps \
liboctave/liboctave.ps refcard/refcard-a4.ps \
refcard/refcard-legal.ps refcard/refcard-letter.ps
OCTAVE_HTML= faq/Octave-FAQ_toc.html interpreter/octave_*.html \
interpreter/octave.html liboctave/liboctave_*.html
post-patch:
@cd ${WRKSRC}/libcruft/misc && ${RM} -f xstopx.f dostop.c
post-install:
.for f in ${LIBOCTAVE_INFO}
${INSTALL_DATA} ${WRKSRC}/doc/liboctave/$f ${PREFIX}/info
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/octave
.for f in ${OCTAVE_DOC}
${INSTALL_DATA} ${WRKSRC}/doc/$f ${PREFIX}/share/doc/octave
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/octave
.for f in ${OCTAVE_HTML}
${INSTALL_DATA} ${WRKSRC}/doc/$f ${PREFIX}/share/doc/html/octave
.endfor
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"