Subject: pkg/28654: mips64emul update to 0.2.3 and add pkg_options support
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <pancake@phreaker.net>
List: pkgsrc-bugs
Date: 12/14/2004 13:28:00
>Number:         28654
>Category:       pkg
>Synopsis:       mips64emul is outdated.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 14 13:28:00 +0000 2004
>Originator:     pancake
>Release:        FreeBSD 6.0-CURRENT
>Organization:
	
>Environment:
	
	
System: FreeBSD porticoluna 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Wed Sep 22 12:06:57 CEST 2004 esn@porticoluna:/usr/obj/usr/src/sys/KERN_PLUNA2 i386
Architecture: i386
Machine: i386
>Description:
	
	I just added the X pkg_options into this pkg because i think that it
	so useful to have this on non-X boxes.
>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/mips64emul/Makefile,v
retrieving revision 1.10
diff -r1.10 Makefile
4c4
< DISTNAME=	mips64emul-0.2.2
---
> DISTNAME=	mips64emul-0.2.3
6c6,7
< MASTER_SITES=	http://www.mdstud.chalmers.se/~md1gavan/mips64emul/src/
---
> MASTER_SITES=	http://gavare.se/mips64emul/src/ \
> 		http://www.mdstud.chalmers.se/~md1gavan/mips64emul/src/
9c10
< HOMEPAGE=	http://www.mdstud.chalmers.se/~md1gavan/mips64emul/
---
> HOMEPAGE=	http://gavare.se/mips64emul/
13a15,18
> PKG_OPTIONS_VAR=PKG_OPTIONS.mips64emul
> PKG_SUPPORTED_OPTIONS= X
> .include "../../mk/bsd.options.mk"
> 
15d19
< USE_X11=	yes
18,19c22,23
< INSTALLATION_DIRS=	bin share/doc/${PKGBASE}
< 
---
> .if !empty(PKG_OPTIONS:MX)
> USE_X11=	yes
20a25,27
> .endif
> 
> INSTALLATION_DIRS=	bin share/doc/${PKGBASE}
24c31
< 	${INSTALL_MAN} ${WRKSRC}/doc/mips64emul.1 ${PREFIX}/man/man1
---
> 	${INSTALL_MAN} ${WRKSRC}/man/mips64emul.1 ${PREFIX}/man/man1
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/mips64emul/distinfo,v
retrieving revision 1.7
diff -r1.7 distinfo
3,4c3,4
< SHA1 (mips64emul-0.2.2.tar.gz) = 3329bffe9b1fd5887c6d713449db805557fc2d48
< Size (mips64emul-0.2.2.tar.gz) = 729050 bytes
---
> SHA1 (mips64emul-0.2.3.tar.gz) = 6c2f2c9e7a57da12d9786bfe9fe71339021dddbe
> Size (mips64emul-0.2.3.tar.gz) = 795082 bytes
	

>Unformatted: