Subject: pkg/18380: pkgsrc on Solaris should depend on devel/patch if gpatch is not available
To: None <gnats-bugs@gnats.netbsd.org>
From: None <grant@netbsd.org>
List: netbsd-bugs
Date: 09/24/2002 10:50:27
>Number:         18380
>Category:       pkg
>Synopsis:       pkgsrc on Solaris should depend on devel/patch if gpatch is not available
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 22 21:51:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     grant beattie
>Release:        -current pkgsrc
>Organization:
>Environment:
System: SunOS death 5.7 Generic_106541-04 sun4u sparc SUNW,Ultra-1
Architecture: sparc
Machine: sun4u
>Description:
pkgsrc on Solaris should include a dependancy on devel/patch if
/usr/bin/gpatch is not available. Right now, ${LOCALBASE}/bin/patch is
attempted, whether it is installed or not.

===> Required package perl>=5.0: NOT found
===> Verifying package for ../../lang/perl5
===> Patching for perl-5.6.1nb7
===> Applying SunOS patches for perl-5.6.1nb7
/bin/sh: /usr/pkg/bin/patch: not found
Patch /usr/pkgsrc/lang/perl5/patches/patch-aa failed
*** Error code 1

>How-To-Repeat:
attempt to build a package with patches without having devel/patch
installed.
>Fix:
add some smarts to defs.SunOS.mk ?

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