Subject: pkg/21045: building pkgsrc/net/netcat on solaris
To: None <gnats-bugs@gnats.netbsd.org>
From: None <netbsd@10k.org>
List: netbsd-bugs
Date: 04/06/2003 14:49:30
>Number: 21045
>Category: pkg
>Synopsis: building pkgsrc/net/netcat on solaris
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Apr 06 14:50:00 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Jake Luck
>Release: Solaris 9
>Organization:
10K
>Environment:
SunOS neo 5.9 Generic_112233-04 sun4u sparc SUNW,Ultra-1
>Description:
netcat in pkgsrc won't build on solaris because the package
target is hard coded for netbsd.
>How-To-Repeat:
do bmake on a solaris machine in /usr/pkgsrc/net/netcat
>Fix:
/usr/pkgsrc/net/netcat/Makefile
# $NetBSD: Makefile,v 1.8 2002/10/08 14:29:36 abs Exp $
21c21
< ALL_TARGET= pkgsrc
---
> ALL_TARGET= netbsd
/usr/pkgsrc/net/netcat/work/
23,26d22
< ### tailored for package source
< pkgsrc:
< bmake ${LOWER_OPSYS}
<
/usr/pkgsrc/net/netcat/work/data
4c4
< ${CC} -s -O -o data data.c
---
> cc -s -O -o data data.c
6c6
< ${CC} -s -O -o rservice rservice.c
---
> cc -s -O -o rservice rservice.c
8c8
< ${CC} -s -O -o xor xor.c
---
> cc -s -O -o xor xor.c
>Release-Note:
>Audit-Trail:
>Unformatted: