NetBSD Problem Report #28628
From www@netbsd.org Sun Dec 12 11:17:38 2004
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id 3F2A3251ED0; Sun, 12 Dec 2004 11:17:38 +0000 (UTC)
Message-Id: <20041212111738.3F2A3251ED0@narn.netbsd.org>
Date: Sun, 12 Dec 2004 11:17:38 +0000 (UTC)
From: georg.schwarz@freenet.de
Reply-To: georg.schwarz@freenet.de
To: gnats-bugs@netbsd.org
Subject: editors/pico should be adapted to IRIX
X-Send-Pr-Version: www-1.0
>Number: 28628
>Category: pkg
>Synopsis: editors/pico should be adapted to IRIX
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: irix-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 12 11:18:00 +0000 2004
>Closed-Date: Tue Jan 18 03:15:49 +0000 2005
>Last-Modified: Tue Jan 18 04:03:02 +0000 2005
>Originator: Georg Schwarz
>Release: current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
editrors/pico should use the OS-specific makefiles (here: for IRIX)
>How-To-Repeat:
>Fix:
The following patch should do the trick:
--- Makefile.orig 2004-12-12 10:59:49.000000000 +0100
+++ Makefile 2004-12-12 11:08:20.000000000 +0100
@@ -26,6 +26,12 @@
LIBS+= -lcurses
.elif ${OPSYS} == "Linux"
BUILDNAME= lnx
+.elif ${OPSYS} == "IRIX"
+.if ${OS_VERSION} >= 6.5
+BUILDNAME= sg6
+.else
+BUILDNAME= sgi
+.endif
.else
BUILDNAME= neb
.endif
Moreover, it requires the following patch to be added in analogy to the existing ones for other supported OSes:
--- makefile.sgi.orig 2004-12-12 10:50:51.000000000 +0100
+++ makefile.sgi 2004-12-12 10:53:28.000000000 +0100
@@ -32,16 +32,12 @@
MAKE= make
OPTIMIZE= # -O
PROFILE= # -pg
-DEBUG= -g -DDEBUG
+DEBUG= # -g -DDEBUG
STDCFLAGS= -Dsgi -DJOB_CONTROL -DMOUSE
CFLAGS= $(OPTIMIZE) $(PROFILE) $(DEBUG) $(EXTRACFLAGS) $(STDCFLAGS)
# switches for library building
-LIBCMD= ar
-LIBARGS= ru
-RANLIB= /bin/true
-
LIBS= $(EXTRALDFLAGS) -ltermcap -lc
OFILES= attach.o basic.o bind.o browse.o buffer.o \
@@ -55,17 +51,17 @@
# dependencies for the Unix versions of pico and libpico.a
#
all: pico pilot
-pico pilot: libpico.a
+pico pilot: libpico.la
pico: main.o
- $(CC) $(CFLAGS) main.o libpico.a $(LIBS) -o pico
+ $(CC) $(CFLAGS) main.o libpico.la $(LIBS) -o pico
pilot: pilot.o
- $(CC) $(CFLAGS) pilot.o libpico.a $(LIBS) -o pilot
+ $(CC) $(CFLAGS) pilot.o libpico.la $(LIBS) -o pilot
-libpico.a: $(OFILES)
- $(LIBCMD) $(LIBARGS) libpico.a $(OFILES)
- $(RANLIB) libpico.a
+libpico.la: $(OFILES)
+ $(CC) -o libpico.la $(OFILES:.o=.lo) -rpath $(PREFIX)/lib \
+ -version-info 4:0
clean:
rm -f *.a *.o *~ pico_os.c os.h pico pilot
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->irix-pkg-people
Responsible-Changed-By: recht@netbsd.org
Responsible-Changed-When: Sun, 12 Dec 2004 18:15:20 +0000
Responsible-Changed-Why:
over to irix-pkg-people
State-Changed-From-To: open->closed
State-Changed-By: jschauma@netbsd.org
State-Changed-When: Tue, 18 Jan 2005 03:15:49 +0000
State-Changed-Why:
Patches applied - thanks for the PR.
From: Jan Schaumann <jschauma@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/28628 CVS commit: pkgsrc/editors/pico
Date: Tue, 18 Jan 2005 03:15:07 +0000 (UTC)
Module Name: pkgsrc
Committed By: jschauma
Date: Tue Jan 18 03:15:07 UTC 2005
Modified Files:
pkgsrc/editors/pico: Makefile distinfo
Added Files:
pkgsrc/editors/pico/patches: patch-ah
Log Message:
Apply patches from Georg Schwarz in PR pkg/28628 to make this work
(better) on IRIX
To generate a diff of this commit:
cvs rdiff -r1.57 -r1.58 pkgsrc/editors/pico/Makefile
cvs rdiff -r1.15 -r1.16 pkgsrc/editors/pico/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/editors/pico/patches/patch-ah
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Jan Schaumann <jschauma@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/28628 CVS commit: pkgsrc/mail/pine
Date: Tue, 18 Jan 2005 04:00:18 +0000 (UTC)
Module Name: pkgsrc
Committed By: jschauma
Date: Tue Jan 18 04:00:18 UTC 2005
Modified Files:
pkgsrc/mail/pine: Makefile
Log Message:
Since PR pkg/28628 was fixed, we can remove the CFLAGS vfork gunk.
This closes PR pkg/28615.
To generate a diff of this commit:
cvs rdiff -r1.98 -r1.99 pkgsrc/mail/pine/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>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.