Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2007 14:04:57 -0700
From:      Scott Flatman <sf@slappy.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/114109: Maintainer update: math/maxima
Message-ID:  <46842279.6030904@slappy.org>
Resent-Message-ID: <200706282110.l5SLA3Oa023804@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         114109
>Category:       ports
>Synopsis:       Allow options to be set via spiffy GUI dialog
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 28 21:10:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Scott Flatman
>Release:        FreeBSD 6.2-STABLE
>Organization:
>Environment:
FreeBSD emerald.foo.kom 6.2-STABLE FreeBSD 6.2-STABLE #3: Tue May 22 20:08:50 PDT 2007     sf@emerald.foo.kom:/usr/obj/usr/src/sys/EMERALD14  i386

>Description:
	Allow options to be set via spiffy GUI dialog
	Remove amd64 check for MAKE_ENV variable
>How-To-Repeat:
>Fix:
-*- maxima patch begins here -*-
--- Makefile.orig	Thu Jun 28 11:56:59 2007
+++ Makefile	Thu Jun 28 13:53:43 2007
@@ -39,62 +39,47 @@
 PLIST_SUB+=	MAXIMABIN=${MAXIMABINARY}
 PLIST_SUB+=	PORTVERSION=${PORTVERSION}
 
+OPTIONS=	CLISP "Build with Clisp" off \
+		CMUCL "Build with CMU Common Lisp" off \
+		GCL "Build with GNU Common Lisp" off \
+		SBCL "Build with Steel Bank Common Lisp" on
+
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "amd64"
 MAKE_ENV+=	CC="${CC}"
-.endif
 
 # Lisp to build with. Define only ONE of these!
-#WITH_CLISP=	yes
-#WITH_CMUCL=	yes
-#WITH_GCL=	yes
-WITH_SBCL=	yes
-
-.if defined(WITH_CLISP)
+.if defined(WITH_CLISP) && defined(WITHOUT_CMUCL) && defined(WITHOUT_GCL) && defined(WITHOUT_SBCL)
 LISPSELECT=	--enable-clisp
 LISPPORT=	clisp:${PORTSDIR}/lang/clisp
 BINDIRECTORY=	binary-clisp
 LISPBINARY=	lisp.run
 PLIST_SUB+=	LISPBINARY=""
 MAXIMABINARY=	maxima.mem
-.endif
-
-.if defined(WITH_CMUCL)
+.elif defined(WITHOUT_CLISP) && defined(WITH_CMUCL) && defined(WITHOUT_GCL) && defined(WITHOUT_SBCL)
 LISPSELECT=	--enable-cmucl
 LISPPORT=	lisp:${PORTSDIR}/lang/cmucl
 BINDIRECTORY=	binary-cmucl
 LISPBINARY=	lisp
 PLIST_SUB+=	LISPBINARY=""
 MAXIMABINARY=	maxima.core
-.endif
-
-.if defined(WITH_GCL)
+.elif defined(WITHOUT_CLISP) && defined(WITHOUT_CMUCL) && defined(WITH_GCL) && defined(WITHOUT_SBCL)
 LISPSELECT=	--enable-gcl
 LISPPORT=	gcl:${PORTSDIR}/lang/gcl
 BINDIRECTORY=	binary-gcl
 #LISPBINARY is null so fudge this so deinstall works cleanly
 PLIST_SUB+=	LISPBINARY="@comment "
 MAXIMABINARY=	maxima
-.endif
-
-.if defined(WITH_SBCL)
+.elif defined(WITHOUT_CLISP) && defined(WITHOUT_CMUCL) && defined(WITHOUT_GCL) && defined(WITH_SBCL)
 LISPSELECT=	--enable-sbcl
 LISPPORT=	sbcl:${PORTSDIR}/lang/sbcl
 BINDIRECTORY=	binary-sbcl
 #LISPBINARY is null so fudge this so deinstall works cleanly
 PLIST_SUB+=	LISPBINARY="@comment "
 MAXIMABINARY=	maxima.core
+.else
+IGNORE=	"Define only one lisp"
 .endif
-
-pre-everything::
-	@${ECHO} ""
-	@${ECHO} "Maxima has the following tunable options:"
-	@${ECHO} "  WITH_CLISP   Build with Clisp"
-	@${ECHO} "  WITH_CMUCL   Build with CMU Common Lisp"
-	@${ECHO} "  WITH_GCL     Build with GNU Common Lisp"
-	@${ECHO} "  WITH_SBCL    Build with Steel Bank Common Lisp (default)"
-	@${ECHO} ""
 
 # rebuild older aclocal.m4
 pre-configure:
-*- maxima patch ends here -*-

--------------000706030805020808040201--
>Release-Note:
>Audit-Trail:
>Unformatted:
 This is a multi-part message in MIME format.
 --------------000706030805020808040201
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 
 --------------000706030805020808040201
 Content-Type: text/plain;
  name="maxima"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="maxima"
 
 		Remove amd64 check for MAKE_ENV variable



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46842279.6030904>