From 08f76c451cbab39b8a75fc4e52895b1e706dfec5 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Mon, 21 Sep 2009 22:42:32 +0000 Subject: [PATCH] powerpc needs gcc4 to build this. --- math/maxima/Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/math/maxima/Makefile b/math/maxima/Makefile index 490423c7976..33dffd2d29a 100644 --- a/math/maxima/Makefile +++ b/math/maxima/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.10 2009/06/17 23:27:49 sthen Exp $ +# $OpenBSD: Makefile,v 1.11 2009/09/21 22:42:32 ajacoutot Exp $ COMMENT= GPL computer algebra system based on DOE Macsyma VERSION= 5.16.1 DISTNAME= maxima-${VERSION} -PKGNAME= ${DISTNAME}p1 +PKGNAME= ${DISTNAME}p2 CATEGORIES= math HOMEPAGE= http://maxima.sourceforge.net/ @@ -18,20 +18,25 @@ PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=maxima/} USE_GMAKE= yes -CONFIGURE_STYLE= gnu LIB_DEPENDS= ecl::lang/ecl WANTLIB += c gc gmp m pthread SUBST_VARS= VERSION +CONFIGURE_ARGS+= --enable-ecl +CONFIGURE_STYLE= gnu + +MODULES+= gcc4 +MODGCC4_ARCHES= powerpc +MODGCC4_LANGS= c + FLAVORS= no_x11 FLAVOR?= -CONFIGURE_ARGS+= --enable-ecl .if !${FLAVOR:L:Mno_x11} MODTK_VERSION= 8.4 -MODULES= x11/tk +MODULES+= x11/tk RUN_DEPENDS+= ${MODTK_RUN_DEPENDS} BUILD_DEPENDS= ${RUN_DEPENDS} CONFIGURE_ARGS+= --with-wish=${MODTCL_BIN}