From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 5 22:20:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2041610656CA for ; Thu, 5 Feb 2009 22:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EA0E78FC12 for ; Thu, 5 Feb 2009 22:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n15MK15I021519 for ; Thu, 5 Feb 2009 22:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n15MK1AD021518; Thu, 5 Feb 2009 22:20:01 GMT (envelope-from gnats) Resent-Date: Thu, 5 Feb 2009 22:20:01 GMT Resent-Message-Id: <200902052220.n15MK1AD021518@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Timothy Beyer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DE86106566B for ; Thu, 5 Feb 2009 22:15:33 +0000 (UTC) (envelope-from beyert@cs.ucr.edu) Received: from sentoku.ucr.edu (sentoku.ucr.edu [138.23.214.80]) by mx1.freebsd.org (Postfix) with ESMTP id 66AC38FC16 for ; Thu, 5 Feb 2009 22:15:33 +0000 (UTC) (envelope-from beyert@cs.ucr.edu) Received: from aeonserv.aeonnet (cpe-76-90-217-240.socal.res.rr.com [76.90.217.240]) by sentoku.ucr.edu (MOS 3.10.3-GA) with ESMTP id DYP97032 (AUTH tbeye001); Thu, 5 Feb 2009 14:05:25 -0800 (PST) Message-Id: <871vucv8ue.wl%beyert@cs.ucr.edu> Date: Thu, 05 Feb 2009 14:04:41 -0800 From: Timothy Beyer To: FreeBSD-gnats-submit@FreeBSD.org Cc: Timothy Beyer Subject: ports/131436: add options to port: math/gnumeric (perl and guile) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 22:20:08 -0000 >Number: 131436 >Category: ports >Synopsis: add options to port: math/gnumeric (perl and guile) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 05 22:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Timothy Beyer >Release: FreeBSD 7.1-RELEASE-p2 i386 >Organization: no organization >Environment: System: FreeBSD aeonserv.aeonnet 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #4: Sun Jan 25 21:45:5 3 PST 2009 beyert@aeonserv.aeonnet:/usr/obj/usr/src/sys/CUSTOM i386 >Description: This patch makes the following changes: -Add option to turn on/off guile scheme support (might as well enable it though) -Add option to turn on/off perl support (on my system gnumeric does not compile when perl support is turned on) The defaults have been unchanged (perl enabled, guile disabled) to avoid disrupting the compilation for users where it was already working properly. >How-To-Repeat: Apply the patch >Fix: The included patch --- Makefile.diff begins here --- --- Makefile.orig 2009-02-02 03:37:25.000000000 -0800 +++ Makefile 2009-02-05 14:02:51.000000000 -0800 @@ -8,7 +8,7 @@ PORTNAME= gnumeric PORTVERSION= 1.9.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 @@ -21,7 +21,6 @@ USE_BZIP2= yes USE_GETTEXT= yes -USE_PERL5= yes USE_GMAKE= yes USE_GNOME= gnomeprefix intlhack gnomehack gnomehier \ libgsf_gnome pygtk2 desktopfileutils libgnomeui @@ -30,7 +29,7 @@ USE_LDCONFIG= yes INSTALLS_ICONS= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --without-guile --with-bonobo +CONFIGURE_ARGS= --with-bonobo CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LIBS="-L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}" \ python_prog=${PYTHON_VERSION} @@ -42,10 +41,25 @@ PLIST_SUB= VERSION=${PORTVERSION} -OPTIONS= GNOMEDB "Enable libgnomedb support" off +OPTIONS= GNOMEDB "Enable libgnomedb support" off \ + PERL "Enable Perl as extension language" on \ + GUILE "Enable Guile as extension language" off .include +.if defined(WITH_GUILE) +LIB_DEPENDS+= guile.19:${PORTSDIR}/lang/guile +CONFIGURE_ARGS+= --with-guile +.else +CONFIGURE_ARGS+= --without-guile +.endif + +.if defined(WITH_PERL) +USE_PERL5= yes +.else +CONFIGURE_ARGS+= --without-perl +.endif + .if defined(WITH_GNOMEDB) USE_GNOME+= libgnomedb CONFIGURE_ARGS+= --with-gda --- Makefile.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: