Subject: pkg/26245: Update wistumbler2 to pre9
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <pancake@phreaker.net>
List: pkgsrc-bugs
Date: 07/11/2004 12:53:51
>Number:         26245
>Category:       pkg
>Synopsis:       Wistumbler2 is outdated
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 11 11:55:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 2.0G
>Organization:
	
>Environment:
	
	
System: NetBSD pl2 2.0G NetBSD 2.0G (pancake-laptop) #5: Tue Jul 6 23:36:16 CEST 2004 root@panser:/usr/src/sys/arch/i386/compile/PANCAKE_LAPTOP i386
Architecture: i386
Machine: i386
>Description:
	
>How-To-Repeat:
	
>Fix:
	Apply this patch to Makefile:

--- Makefile.orig	2004-07-11 12:48:08.000000000 +0000
+++ Makefile	2004-07-11 12:52:49.000000000 +0000
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.5 2004/03/07 23:59:01 xtraeme Exp $
 
-DISTNAME=	wistumbler2.00-pre7
+DISTNAME=	wistumbler2.00-pre9
 PKGNAME=	${DISTNAME:S/wistumbler/wistumbler-/}
 CATEGORIES=	net
 MASTER_SITES=	ftp://ftp.nopcode.org/prj/wistumbler2/
@@ -10,20 +10,20 @@
 COMMENT=	Fork of original WaveLAN/IEEE network stumbler
 
 USE_BUILDLINK3=	YES
-USE_X11=	YES
 GNU_CONFIGURE=	YES
 MANCOMPRESSED=	YES
+CONFIGURE_ENV+= PREFIX=${PREFIX}
 
 NOT_FOR_PLATFORM=	NetBSD-[01].[012345]*-*
-ONLY_FOR_PLATFORM=	NetBSD-*-* FreeBSD-*-*
-
-WISTUMBLER2_USES_GTK?=	yes
+ONLY_FOR_PLATFORM=	NetBSD-*-* FreeBSD-*-* OpenBSD-*-*
 
 BUILD_DEFS+=		WISTUMBLER2_USES_GTK
+WISTUMBLER2_USES_GTK?=	yes
 
 .include "../../mk/bsd.prefs.mk"
 
 .if !empty(WISTUMBLER2_USES_GTK:M[Yy][Ee][Ss])
+USE_X11=	YES
 .include "../../x11/gtk2/buildlink3.mk"
 .else
 CONFIGURE_ENV+=		USE_GTK=0
	
>Release-Note:
>Audit-Trail:
>Unformatted: