Subject: pkg/18086: Un-necessary restriction of math/gnumeric to NetBSD>=1.5R
To: None <gnats-bugs@gnats.netbsd.org>
From: None <julien.letessier@sun.com>
List: netbsd-bugs
Date: 08/27/2002 07:32:47
>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:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 27 07:33:00 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: