NetBSD Problem Report #18086

Received: (qmail 14045 invoked by uid 605); 27 Aug 2002 14:32:48 -0000
Message-Id: <20020827143247.8BCD011122@narn.netbsd.org>
Date: Tue, 27 Aug 2002 07:32:47 -0700 (PDT)
From: julien.letessier@sun.com
Sender: gnats-bugs-owner@netbsd.org
Reply-To: julien.letessier@sun.com
To: gnats-bugs@gnats.netbsd.org
Subject: Un-necessary restriction of math/gnumeric to NetBSD>=1.5R
X-Send-Pr-Version: www-1.0

>Number:         18086
>Category:       pkg
>Synopsis:       Un-necessary restriction of math/gnumeric to NetBSD>=1.5R
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 27 14:33:00 +0000 2002
>Closed-Date:    Tue Aug 27 14:44:44 +0000 2002
>Last-Modified:  Tue Aug 27 15:05:00 +0000 2002
>Originator:     Julien T. Letessier
>Release:        Zoularis/Solaris8
>Organization:
Sun Labs Europe
>Environment:
SunOS mikdemia 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-Enterprise
>Description:
Gnumeric builds and works on all plaforms that have wctype.h, not only on NetBSD>=1.5R. (e.g., it works under Solaris).
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/math/gnumeric/Makefile,v
retrieving revision 1.57
diff -u -r1.57 Makefile
--- Makefile    2002/07/26 01:09:51     1.57
+++ Makefile    2002/08/27 14:30:32
@@ -10,8 +10,12 @@
 HOMEPAGE=              http://www.gnome.org/gnumeric/
 COMMENT=               Spreadsheet program from the GNOME project

+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
 # wctype.h is found on NetBSD 1.5R and later
 ONLY_FOR_PLATFORM=     NetBSD-1.5[R-Z]-* NetBSD-1.5Z[A-Z]-* NetBSD-1.[6-9]*-*
+.endif

 # for Python support a shared libpython is required but not provided yet
 #BUILD_DEPENDS+=               python>=2.0:../../lang/python

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: grant 
State-Changed-When: Tue Aug 27 07:41:59 PDT 2002 
State-Changed-Why:  
Thanks! Rather than include bsd.prefs.mk, I have added SunOS to 
ONLY_FOR_PLATFORM. 

From: Lubomir Sedlacik <salo@Xtrmntr.org>
To: julien.letessier@sun.com
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/18086: Un-necessary restriction of math/gnumeric to NetBSD>=1.5R
Date: Tue, 27 Aug 2002 17:04:07 +0200

 --+QahgC5+KEYLbs62
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable

 On Tue, Aug 27, 2002 at 07:32:47AM -0700, julien.letessier@sun.com wrote:
 >=20
 > +.include "../../mk/bsd.prefs.mk"
 > +
 > +.if ${OPSYS} =3D=3D "NetBSD"
 >  # wctype.h is found on NetBSD 1.5R and later
 >  ONLY_FOR_PLATFORM=3D     NetBSD-1.5[R-Z]-* NetBSD-1.5Z[A-Z]-* NetBSD-1.[=
 6-9]*-*
 > +.endif

 this is not correct way of handling this.  it should look this way:

 ONLY_FOR_PLATFORM=3D     NetBSD-1.5[R-Z]-* NetBSD-1.5Z[A-Z]-*
                        NetBSD-1.[6-9]*-* SunOS-*-*

 regards,

 --=20
 -- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\=
  --
 --                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ /=
  --
 --                                       Microsoft proprietary formats   X =
  --
 -- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \=
  --
 -- Key Fingerprint: 75B2 2B96 CD75 0385 1C49  39B8 8B08 C30E 54BC 7263     =
  --

 --+QahgC5+KEYLbs62
 Content-Type: application/pgp-signature
 Content-Disposition: inline

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.7 (NetBSD)

 iD8DBQE9a5TniwjDDlS8cmMRAipmAJ9d6lwlWdl9WtAX5MSLBTcL4L6HhQCfUR9Z
 FJ/liUMETaTg15SBAOYIV9Q=
 =FznK
 -----END PGP SIGNATURE-----

 --+QahgC5+KEYLbs62--
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.