Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2001 13:24:42 -0400 (EDT)
From:      Patrick Li <pat@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30340: Update port games/mahjong
Message-ID:  <200109051724.f85HOg954965@cc92687-a.wlgrv1.pa.home.com>

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

>Number:         30340
>Category:       ports
>Synopsis:       Update port games/mahjong
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 05 10:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Li
>Release:        FreeBSD 4.4-RC i386
>Organization:
N/A
>Environment:
System: FreeBSD bottlenek 4.4-RC FreeBSD 4.4-RC #0: Wed Aug 29 20:10:10 EDT 2001 pat@bottlenek:/usr/src/sys/compile/BOTTLENEK i386
>Description:
- Update to 1.2.2
- make CC safe and PERL too.
>How-To-Repeat:
N/A
>Fix:
diff -ruN /usr/ports/games/mahjong/Makefile mahjong/Makefile
--- /usr/ports/games/mahjong/Makefile	Mon Aug  6 22:41:21 2001
+++ mahjong/Makefile	Wed Sep  5 13:21:00 2001
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	mahjong
-PORTVERSION=	1.2
+PORTVERSION=	1.2.2
 CATEGORIES=	games net
 MASTER_SITES=	http://www.stevens-bradfield.com/MahJong/Source/
 DISTNAME=	mj-${PORTVERSION}-src
@@ -15,8 +15,8 @@
 MAINTAINER=	ports@FreeBSD.org
 
 USE_GTK=	yes
-
 USE_GMAKE=	yes
+MAKE_ENV=	PERL="${PERL}"
 
 INSTALL_TARGET=	install install.man
 
diff -ruN /usr/ports/games/mahjong/distinfo mahjong/distinfo
--- /usr/ports/games/mahjong/distinfo	Mon Aug  6 22:41:21 2001
+++ mahjong/distinfo	Wed Sep  5 13:10:36 2001
@@ -1 +1 @@
-MD5 (mj-1.2-src.tar.gz) = e6d75fc2058d55cf574da46a8510005c
+MD5 (mj-1.2.2-src.tar.gz) = 9d35d53f14b2113f2d90bc9aa39ccd92
diff -ruN /usr/ports/games/mahjong/files/patch-Makefile mahjong/files/patch-Makefile
--- /usr/ports/games/mahjong/files/patch-Makefile	Tue Apr 10 14:03:29 2001
+++ mahjong/files/patch-Makefile	Wed Sep  5 13:20:27 2001
@@ -1,6 +1,6 @@
---- Makefile.orig	Sat Feb 17 00:44:26 2001
-+++ Makefile	Sat Feb 17 00:46:24 2001
-@@ -32,7 +32,7 @@
+--- Makefile.orig	Tue Sep  4 17:39:59 2001
++++ Makefile	Wed Sep  5 13:20:21 2001
+@@ -35,7 +35,7 @@
  # (Don't bother with this on Windows; I don't have an install target
  # for Windows.)
  # The binaries go into  $(DESTDIR)$(BINDIR)
@@ -9,7 +9,16 @@
  BINDIR = bin
  # The man pages go into $(DESTDIR)$(MANDIR)
  MANDIR = man/man1
-@@ -56,7 +56,7 @@
+@@ -50,7 +50,7 @@
+ # makefile was made by stripping out most of an imake-generated file.
+ 
+ # It's best to use gcc if you can.
+-CC = gcc
++#CC = gcc
+ 
+ # C debugging and optimization flags. 
+ # In development, we turn on all reasonable warnings, thus:
+@@ -59,7 +59,7 @@
  # code (e.g. glib) may provoke warnings.
  # Also, we do NOT enable optimization by default, because RedHat 6
  # Linux distributions have a seriously buggy C compiler.
@@ -18,7 +27,7 @@
  # The -Wconversion flag is also useful to detect (more than usual)
  # abuse of enums, but it generates many superfluous warnings, so
  # is not on by default.
-@@ -96,8 +96,8 @@
+@@ -101,8 +101,8 @@
  GUILIBS=-LC:/gtk -lgtk-1.3 -lgdk-1.3 -lglib-1.3 -lgmodule-1.3 -Wl,-subsystem,windows
  else
  # Not Windows. If gtk+ is properly installed, this is all that's needed.
@@ -29,3 +38,41 @@
  endif
  
  # We use gcc to link as well
+@@ -125,7 +125,7 @@
+ DEPEND = ./makedep
+ DEPENDFLAGS =
+ # perl is needed for generating several files
+-PERL = perl
++#PERL = perl
+ # suffix of executables
+ EXE = 
+ # programs used in installation
+@@ -144,7 +144,7 @@
+ DEPEND =
+ DEPENDFLAGS =
+ # perl is needed for generating several files
+-PERL = perl
++#PERL = perl
+ # suffix of executables
+ EXE = .exe
+ # programs used in installation: not in windows
+@@ -259,8 +259,8 @@
+ 
+ # version.h is now made from version.h.in by the release script.
+ # so if we are not making a release, we'd better provide it.
+-version.h: version.h.in
+-	$(CP) $< $@ 
++#version.h: version.h.in
++#	$(CP) $< $@ 
+ 
+ # rule to generate the fallback tiles
+ fbtiles.c: $(FALLBACKTILES) makefallbacktiles Makefile
+@@ -304,7 +304,7 @@
+ 
+ use.txt rules.txt: xmj.man
+ 	$(RM) use.txt rules.txt
+-	$(PERL) maketxt xmj.man
++	$(xPERL) maketxt xmj.man
+ 	chmod 444 use.txt rules.txt
+ 
+ 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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