Subject: pkg/28403: target platform for x11/mlterm should be more widened.
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <hiramatu@boreas.dti.ne.jp>
List: pkgsrc-bugs
Date: 11/23/2004 21:09:00
>Number:         28403
>Category:       pkg
>Synopsis:       target platform for x11/mlterm should be more widened.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 23 21:09:00 +0000 2004
>Originator:     Hiramatsu Yoshifumi
>Release:        NetBSD 2.0G
>Organization:
	
>Environment:
	
	
System: NetBSD orinoco.my.domain 2.0G NetBSD 2.0G (Orinoco) #0: Sun Sep 12 07:42:06 JST 2004 hiramatsu@orinoco.my.domain:/usr/src/sys/arch/i386/compile/Orinoco i386
Architecture: i386
Machine: i386
>Description:
x11/mlterm defines ONLY_FOR_PLATFORM variable as:

ONLY_FOR_PLATFORM=      NetBSD-1.5[T-Z]-* NetBSD-1.5Z[A-Z]-*
ONLY_FOR_PLATFORM+=     NetBSD-1.6*-* NetBSD-[2-9]*-*

but this definition prevents mlterm from building on Darwin and Interix.

>How-To-Repeat:

>Fix:
diff -bur mlterm.orig/Makefile mlterm/Makefile
--- mlterm.orig/Makefile	2004-11-24 05:25:35.000000000 +0900
+++ mlterm/Makefile	2004-11-24 05:39:42.000000000 +0900
@@ -14,8 +14,7 @@
 COMMENT=	Multilingual terminal emulator
 
 # CODESET is only supported on NetBSD in 1.5T and later - see <langinfo.h>
-ONLY_FOR_PLATFORM=	NetBSD-1.5[T-Z]-* NetBSD-1.5Z[A-Z]-*
-ONLY_FOR_PLATFORM+=	NetBSD-1.6*-* NetBSD-[2-9]*-*
+NOT_FOR_PLATFORM=	NetBSD-1.[0-4]*-* NetBSD-1.5[A-S]-*
 
 USE_BUILDLINK3=		yes
 USE_X11=		yes

>Unformatted: