Files
ports/math/octave-forge-interval/Makefile
T
Piotr Kubaj 21e4e254b7 math/octave-forge-interval: fix build on powerpc64 elfv2
Clang 10 exits with following error:
Assertion failed: (!IsStrict && "Don't know how to expand for strict nodes."), function ExpandNode, file /usr/local/poudriere/jails/head-powerpc64/usr/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp, line 3638.

Use GCC on powerpc64 for the time being.
2020-04-03 07:47:21 +00:00

36 lines
762 B
Makefile

# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
# $FreeBSD$
PORTNAME= octave-forge-interval
PORTVERSION= 3.2.0
PORTREVISION= 6
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= GPLv3
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
LIB_DEPENDS= libmpfr.so:math/mpfr
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc64
USE_GCC= yes
.endif
post-build:
${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.mk>