Subject: pkg/27264: fam is bundled with IRIX
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <duck@multi.fi>
List: pkgsrc-bugs
Date: 10/15/2004 16:29:34
>Number:         27264
>Category:       pkg
>Synopsis:       fam is bundled with IRIX
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 15 16:30:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Staffan Thomen
>Release:        IRIX 6.5.24m
>Organization:
>Environment:
IRIX64 halo 6.5 6.5.24m 04070317 IP30

>Description:
Since IRIX 6.5 (I don't know for <6.5 users, but they're not likely to run
gnome anyway) comes bunled with the same fam as is built by pkgsrc, it's useless to build it again (and indeed it will fail with not finding -lstdc++)

>How-To-Repeat:
build sysutils/fam on an IRIX 6.5 system
>Fix:
This makes fam not be built on IRIX systems

--- buildlink3.old      2004-10-15 19:26:20.000000000 +0300
+++ buildlink3.mk       2004-10-15 19:16:45.000000000 +0300
@@ -10,7 +10,9 @@
 BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nfam}
 BUILDLINK_PACKAGES+=   fam
 
-.if !empty(FAM_BUILDLINK3_MK:M+)
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(FAM_BUILDLINK3_MK:M+) && empty(OPSYS:MIRIX)
 BUILDLINK_DEPENDS.fam+=                fam>=2.6.10
 BUILDLINK_RECOMMENDED.fam+=    fam>=2.7.0nb2
 BUILDLINK_PKGSRCDIR.fam?=      ../../sysutils/fam

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