NetBSD Problem Report #19480
Received: (qmail 16960 invoked by uid 605); 21 Dec 2002 02:39:42 -0000
Message-Id: <20140-1040438380@rainier.reedmedia.net>
Date: Fri, 20 Dec 2002 18:39:41 -0800
From: reed@reedmedia.net
Sender: gnats-bugs-owner@netbsd.org
Reply-To: reed@reedmedia.net
To: gnats-bugs@gnats.netbsd.org
Subject: devel/flex should be only for SunOS
X-Send-Pr-Version: 3.95
>Number: 19480
>Category: pkg
>Synopsis: devel/flex only for SunOS; I have Linux
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: agc
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Dec 21 02:40:00 +0000 2002
>Closed-Date: Sun Dec 22 16:34:20 +0000 2002
>Last-Modified: Thu Jan 02 23:17:01 +0000 2003
>Originator:
>Release: NetBSD 1.6
>Organization:
http://bsd.reedmedia.net/
>Environment:
System: NetBSD rainier.reedmedia.net 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28 13:40:20 PDT 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-20020927 i386
Architecture: i386
Machine: i386
>Description:
pkgsrc/devel/flex/Makefile has:
ONLY_FOR_PLATFORM= SunOS-*-* # in NetBSD base system
>How-To-Repeat:
need for Linux; try to build for Linux
>Fix:
get rid of the ONLY_FOR_PLATFORM line
or have some negated (not) for NetBSD
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: agc
State-Changed-When: Sun Dec 22 08:33:46 PST 2002
State-Changed-Why:
agc made it possible to build this package on Linux.
Responsible-Changed-From-To: pkg-manager->agc
Responsible-Changed-By: agc
Responsible-Changed-When: Sun Dec 22 08:33:46 PST 2002
Responsible-Changed-Why:
agc took responsibility for this one
From: "Alistair G. Crooks" <agc@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: pr/19480 CVS commit: pkgsrc/devel/flex
Date: Sun, 22 Dec 2002 18:33:16 +0200 (EET)
Module Name: pkgsrc
Committed By: agc
Date: Sun Dec 22 16:33:16 UTC 2002
Modified Files:
pkgsrc/devel/flex: Makefile
Log Message:
Allow this package to be built on Linux too - from a nudge by Jeremy
Reed in PR 19480. Let's not get into the debate about what versions
come with "Linux"...
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 pkgsrc/devel/flex/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: woods@weird.com (Greg A. Woods)
To: reed@reedmedia.net
Cc: gnats-bugs@gnats.netbsd.org (NetBSD GNATS submissions and followups),
netbsd-bugs@NetBSD.ORG (NetBSD Bugs and PR posting List)
Subject: Re: pkg/19480: devel/flex should be only for SunOS
Date: Thu, 2 Jan 2003 18:16:53 -0500 (EST)
[ On Friday, December 20, 2002 at 18:39:41 (-0800), reed@reedmedia.net wrote: ]
> Subject: pkg/19480: devel/flex should be only for SunOS
>
> pkgsrc/devel/flex/Makefile has:
> ONLY_FOR_PLATFORM= SunOS-*-* # in NetBSD base system
>
> >How-To-Repeat:
> need for Linux; try to build for Linux
>
> >Fix:
> get rid of the ONLY_FOR_PLATFORM line
> or have some negated (not) for NetBSD
There's no good reason to prevent this package from building and
installing on NetBSD -- and indeed there are at least two very good
reasons to allow it:
- makes for much easier testing of pkgsrc
- possibly someday there may be a newer version of flex, or even
some important but generic patch only available in pkgsrc, and
some users will want to install the updated version as a
package on older/existing NetBSD systems.
The same reasons apply to almost every other package which tries to
prevent itself from being built on NetBSD!
--
Greg A. Woods
+1 416 218-0098; <g.a.woods@ieee.org>; <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>
>Unformatted:
(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.