NetBSD Problem Report #32851

From ggm@apnic.net  Thu Feb 16 04:26:16 2006
Return-Path: <ggm@apnic.net>
Received: from apnic.net (cumin.apnic.net [202.12.29.59])
	by narn.netbsd.org (Postfix) with ESMTP id 64D0B63B879
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 16 Feb 2006 04:26:15 +0000 (UTC)
Message-Id: <200602160426.k1G4Q3lI025421@garlic.apnic.net>
Date: Thu, 16 Feb 2006 14:26:03 +1000 (EST)
From: ggm@pobox.com
Reply-To: ggm@pobox.com
To: gnats-bugs@netbsd.org
Subject: gnumeric needs options to config perl/python plugins
X-Send-Pr-Version: 3.95

>Number:         32851
>Category:       pkg
>Synopsis:       gnumeric needs options to control perl/python plugins
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 16 04:30:00 +0000 2006
>Last-Modified:  Mon Dec 23 11:34:31 +0000 2013
>Originator:     George Michaelson
>Release:        NetBSD 3.99.15
>Organization:
George Michaelson       |  APNIC                 
Email: ggm@apnic.net    |  PO Box 2131 Milton    
Phone: +61 7 3858 3150  |  QLD 4064 Australia    
  Fax: +61 7 3858 3199  |  http://www.apnic.net  
>Environment:


System: NetBSD garlic.apnic.net 3.99.15 NetBSD 3.99.15 (GGMSMALL) #0: Thu Feb 9 14:35:52 EST 2006 ggm@garlic.apnic.net:/data/Build/obj/usr/src/sys/arch/i386/compile/GGMSMALL i386
Architecture: i386
Machine: i386
>Description:

	gnumeric isn't compiling against perl right now, perl has
	changed a shared lib dependency which isn't satisfied at
	compile time. but in any case, gnumeric shouldn't HAVE to
	be made with either the python or the perl plugin. so I
	have added PKG_OPTIONS.gnumeric values to make them
	configurable, and for now, made --without-perl the default.
>How-To-Repeat:

>Fix:


Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/math/gnumeric/Makefile,v
retrieving revision 1.105
diff -u -p -r1.105 Makefile
--- Makefile    5 Feb 2006 23:10:02 -0000       1.105
+++ Makefile    16 Feb 2006 04:24:07 -0000
@@ -17,8 +17,24 @@ USE_PKGLOCALEDIR=    YES
 USE_TOOLS+=            gmake perl:run pkg-config
 USE_LIBTOOL=           YES

+PKG_OPTIONS_VAR=        PKG_OPTIONS.gnumeric
+PKG_SUPPORTED_OPTIONS=  gnumeric-with-python gnumeric-with-perl
+PKG_SUGGESTED_OPTIONS=  gnumeric-with-python
+
+.include "../../mk/bsd.options.mk"
+
+.if empty(PKG_OPTIONS:Mgnumeric-with-python)
+CONFIGURE_ARGS+=        --without-python
+.else
+CONFIGURE_ARGS+=        --with-python
+.endif
+.if empty(PKG_OPTIONS:Mgnumeric-with-perl)
+CONFIGURE_ARGS+=        --without-perl
+.else
+CONFIGURE_ARGS+=        --with-perl
+.endif
+
 GNU_CONFIGURE=         YES
-CONFIGURE_ARGS+=       --with-python
 CONFIGURE_ENV+=                PYTHON=${PYTHONBIN:Q}
 PYTHON_VERSIONS_ACCEPTED=      24 23
 GCONF2_SCHEMAS=                gnumeric-dialogs.schemas gnumeric-general.schemas \

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->rh
Responsible-Changed-By: recht@netbsd.org
Responsible-Changed-When: Sun, 19 Feb 2006 20:50:12 +0000
Responsible-Changed-Why:
over to maintainer



Responsible-Changed-From-To: rh->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 23 Dec 2013 11:34:31 +0000
Responsible-Changed-Why:
resigned, back to role account


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.