Subject: pkg/16299: package lang/smalltalk uses incorrect platform names
To: None <gnats-bugs@gnats.netbsd.org>
From: None <martijnb@stack.nl>
List: netbsd-bugs
Date: 04/11/2002 14:16:11
>Number:         16299
>Category:       pkg
>Synopsis:       The makefile of lang/smalltalk uses 'ppc' for powerpc platforms
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 11 05:17:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Martijn van Buul (martijnb@stack.nl)
>Release:        NetBSD 1.5ZC (current as of 10/04/2002)
>Organization:
	Eindhoven University of Technology
>Environment:
    System: NetBSD grannysmith.ipv6.stack.nl 1.5ZC NetBSD 1.5ZC (GRANNYSMITH) #0: Wed Apr 10 22:16:21 CEST 2002 martijnb@grannysmith.ipv6.stack.nl:/usr/src/sys/arch/macppc/compile/GRANNYSMITH macppc
    Architecture: powerpc
    Machine: macppc
>Description:
	Smalltalk is only available for -i386, -sparc and -powerpc platforms.
	The Makefile, however, mentions *-ppc instead of -powerpc, causing
	a build to abort with "package smalltalk is not available for 
	NetBSD-powerpc-1.5ZC".
>How-To-Repeat:
	enter 'make' in /usr/pkgsrc/lang/smalltalk on a powerpc-based
	machine, and watch it fail.
>Fix:
	Apply the following patch to /usr/pkgsr/lang/smalltalk/Makefile:

--- Makefile.org	Thu Apr 11 13:51:08 2002
+++ Makefile	Thu Apr 11 13:51:23 2002
@@ -23,7 +23,7 @@
 USE_LIBTOOL=		YES
 LTCONFIG_OVERRIDE=	${WRKSRC}/ltconfig
 
-ONLY_FOR_PLATFORM=	*-*-i386 *-*-sparc *-*-ppc
+ONLY_FOR_PLATFORM=	*-*-i386 *-*-sparc *-*-powerpc
 
 .include "../../devel/readline/buildlink.mk"
 .include "../../lang/tcl/buildlink.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: