NetBSD Problem Report #29868

From jewell@MIT.EDU  Sun Apr  3 03:38:11 2005
Return-Path: <jewell@MIT.EDU>
Received: from south-station-annex.mit.edu (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by narn.netbsd.org (Postfix) with ESMTP id 4B71A63B11A
	for <gnats-bugs@gnats.netbsd.org>; Sun,  3 Apr 2005 03:38:11 +0000 (UTC)
Message-Id: <20050403033733.DF68F5147D5@quiteria.zlz.net>
Date: Sat,  2 Apr 2005 22:37:33 -0500 (EST)
From: "Darrin B.Jewell" <dbj@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: "Darrin B.Jewell" <dbj@netbsd.org>
Subject: pkgsrc kermit needs different target on darwin 10.3

>Number:         29868
>Category:       pkg
>Synopsis:       pkgsrc kermit needs different target on darwin 10.3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    yyamano
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 03 03:39:00 +0000 2005
>Closed-Date:    Mon May 30 16:50:23 +0000 2005
>Last-Modified:  Mon May 30 16:50:23 +0000 2005
>Originator:     Darrin B. Jewell
>Release:        pkgsrc-2005Q1
>Organization:
>Environment:

Darwin Quiteria 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC  Power Macintosh powerpc

>Description:

The pkgsrc comms/kermit makefile specifies the "macosx10" target for darwin.
However, this does not compile on macos panther due to a bind incompatibility.

The kermit makefile does have a target "macosx103" which compiles on
darwin versions 10.3 and later.

>How-To-Repeat:

Attempt to build pkgsrc comms/kermit on macos 10.3 or later.

>Fix:

The following patch against the pkgsrc-2005Q1 branch fixes the
problem by checking the darwin os version and setting the target
appropriately.

Index: pkgsrc/comms/kermit/Makefile
===================================================================
RCS file: /u3/n/rsync/cvsroot/pkgsrc/comms/kermit/Makefile,v
retrieving revision 1.59
diff -u -r1.59 Makefile
--- pkgsrc/comms/kermit/Makefile	21 Feb 2005 20:26:10 -0000	1.59
+++ pkgsrc/comms/kermit/Makefile	2 Apr 2005 03:42:09 -0000
@@ -77,7 +77,11 @@
 .endif

 .if ${OPSYS} == "Darwin"
+.if empty(OS_VERSION:M[0-6]\.*)
+BUILD_TARGET=	macosx103
+.else
 BUILD_TARGET=	macosx10
+.endif
 .else
 BUILD_TARGET=	netbsd+openssl
 .include "../../security/openssl/buildlink3.mk"

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->darwin-pkg-people
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Sun, 03 Apr 2005 20:38:01 +0000
Responsible-Changed-Why:
Darwin pkgsrc problem.


Responsible-Changed-From-To: darwin-pkg-people->yyamano
Responsible-Changed-By: yyamano@netbsd.org
Responsible-Changed-When: Mon, 30 May 2005 14:44:58 +0000
Responsible-Changed-Why:
I'll take it.


From: Yuji Yamano <yyamano@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/29868 CVS commit: pkgsrc/comms/kermit
Date: Mon, 30 May 2005 15:04:17 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	yyamano
 Date:		Mon May 30 15:04:17 UTC 2005

 Modified Files:
 	pkgsrc/comms/kermit: Makefile

 Log Message:
 Fix PR pkg/29868 provided by dbj.


 To generate a diff of this commit:
 cvs rdiff -r1.61 -r1.62 pkgsrc/comms/kermit/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: yyamano@netbsd.org
State-Changed-When: Mon, 30 May 2005 16:50:23 +0000
State-Changed-Why:
Fixed, thanks for the patch.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.