Subject: pkg/25614: pine 4.60 requires pico 4.7 to build
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <sco@openface.ca>
List: pkgsrc-bugs
Date: 05/17/2004 17:23:09
>Number:         25614
>Category:       pkg
>Synopsis:       pine 4.60 requires pico 4.7 to build
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon May 17 17:24:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Scott Thompson
>Release:        NetBSD 1.6.2
>Organization:
>Environment:
NetBSD whiskey.openface.ca 1.6.2 NetBSD 1.6.2 (WHISKEY) #0: Wed Apr 28 12:42:03 EDT 2004     sco@quake.openface.ca:/usr/src/1.6.2/sys/arch/i386/compile/WHISKEY i386

>Description:
pico's buildlink3.mk should increment BUILDLINK_DEPENDS to pico>=4.7
to allow pine 4.60 to build correctly.

On a system with pico 4.6 installed, the existing dependency is met,
but Pine will not compile due to the following error:


>How-To-Repeat:
Install pico 4.6 package.  Attempt to build Pine 4.60.

mailcmd.c: In function `menu_command':
mailcmd.c:1629: error: `time_of_last_input' undeclared (first use in this function)
mailcmd.c:1629: error: (Each undeclared identifier is reported only once
mailcmd.c:1629: error: for each function it appears in.)
*** Error code 1

>Fix:
--- buildlink3.mk.orig  Sat May  1 20:22:20 2004
+++ buildlink3.mk       Mon May 17 13:21:30 2004
@@ -13,3 +13,3 @@
 .if !empty(PICO_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.pico+=       pico>=4.6
+BUILDLINK_DEPENDS.pico+=       pico>=4.7
 BUILDLINK_PKGSRCDIR.pico?=     ../../editors/pico

>Release-Note:
>Audit-Trail:
>Unformatted: