Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jul 1997 00:52:22 -0700 (PDT)
From:      Nakai@Mlab.t.u-tokyo.ac.jp
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   ports/4000: Fixed port: mastergear
Message-ID:  <199707010752.AAA16783@hub.freebsd.org>
Resent-Message-ID: <199707010800.BAA17236@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4000
>Category:       ports
>Synopsis:       Fixed port: mastergear
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul  1 01:00:01 PDT 1997
>Last-Modified:
>Originator:     Yukihiro Nakai
>Organization:
>Release:        3.0-current
>Environment:
>Description:
I have fixed the mastergear port to follow its latest version.
mastergear is the SEGA Game Gear emulator.

Yukihiro Nakai
--------------
diff -ruN mastergear.orig/Makefile mastergear/Makefile
--- mastergear.orig/Makefile	Tue Jul  1 14:38:54 1997
+++ mastergear/Makefile	Tue Jul  1 14:35:45 1997
@@ -1,5 +1,5 @@
 # New ports collection makefile for:   mastergear
-# Version required:    0.8
+# Version required:    1.0
 # Date created:        02 November 1996
 # Whom:                Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
 #
@@ -7,7 +7,7 @@
 #
 
 DISTNAME=	SMS
-PKGNAME=        mastergear-0.8
+PKGNAME=        mastergear-1.0
 CATEGORIES=     emulators
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 DISTFILES=	MG.tar.Z
@@ -15,8 +15,6 @@
 MAINTAINER=	Nakai@Mlab.t.u-tokyo.ac.jp
 
 USE_X11=	yes
-
-CONFIGURE_ENV+=	X11BASE=${X11BASE}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/mg ${PREFIX}/bin
diff -ruN mastergear.orig/files/md5 mastergear/files/md5
--- mastergear.orig/files/md5	Tue Jul  1 14:38:54 1997
+++ mastergear/files/md5	Tue Jul  1 14:33:56 1997
@@ -1 +1 @@
-MD5 (MG.tar.Z) = 7a7896eda5cb122030fdadcc90b5fe0e
+MD5 (MG.tar.Z) = c8363cc604babad1eecfa496f980c224
diff -ruN mastergear.orig/patches/patch-aa mastergear/patches/patch-aa
--- mastergear.orig/patches/patch-aa	Tue Jul  1 14:38:54 1997
+++ mastergear/patches/patch-aa	Tue Jul  1 14:35:28 1997
@@ -1,5 +1,5 @@
-*** Makefile.org	Sun Nov  3 05:00:12 1996
---- Makefile	Sun Nov  3 05:00:25 1996
+*** Makefile.orig	Tue Jul  1 14:34:45 1997
+--- Makefile	Tue Jul  1 14:35:11 1997
 ***************
 *** 43,49 ****
   # change the -L/usr/X11R6/lib to the directory where X11
@@ -13,7 +13,7 @@
   # change the -L/usr/X11R6/lib to the directory where X11
   # libraries libX11.* and libXext.* are located on your system.
   CC      = gcc
-! DEFINES = -DUNIX -DLSB_FIRST -DDEBUG -DSOUND
+! DEFINES = -DUNIX -DLSB_FIRST -DSOUND
   CFLAGS  = -O2 -I/usr/X11R6/include -L/usr/X11R6/lib ${DEFINES}
   OBJECTS = MG.o SMS.o Z80.o Debug.o Unix.o DSP.o
   
diff -ruN mastergear.orig/scripts/configure mastergear/scripts/configure
--- mastergear.orig/scripts/configure	Tue Jul  1 14:38:54 1997
+++ mastergear/scripts/configure	Tue Jul  1 14:36:03 1997
@@ -1,3 +1,3 @@
 #! /bin/sh
 
-perl -pi -e 's|/usr/X11R6|$ENV{'X11BASE'}|g' $WRKSRC/Makefile
+perl -pi -e 's|/usr/X11R6|'$X11BASE'|g' $WRKSRC/Makefile


>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707010752.AAA16783>