Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2004 15:01:47 +0100
From:      "Miguel Mendez" <flynn@energyhq.es.eu.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        adamw@FreeBSD.org
Subject:   ports/63488: Update emulators/xzx to 0.4.4
Message-ID:  <1077976907.0@scienide.energyhq.es.eu.org>
Resent-Message-ID: <200402281410.i1SEALJp036699@freefall.freebsd.org>

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

>Number:         63488
>Category:       ports
>Synopsis:       Update emulators/xzx to 0.4.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 28 06:10:21 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Miguel Mendez
>Release:        FreeBSD 5.2.1-RC2 i386
>Organization:
The $699 Linux distro 
>Environment:


System: FreeBSD 5.2.1-RC2 #0: Thu Feb 19 18:01:19 CET 2004
    root@scienide.energyhq.es.eu.org:/usr/src/sys/i386/compile/SCIENIDE



>Description:


Update to 0.4.4
Adam, could you put the distfile in your home dir?



>How-To-Repeat:





>Fix:


--- xzx.diff begins here ---
diff -ruN xzx.old/Makefile xzx/Makefile
--- xzx.old/Makefile	Wed Feb 25 19:38:09 2004
+++ xzx/Makefile	Sat Feb 28 14:57:29 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	xzx
-PORTVERSION=	4.3
+PORTVERSION=	4.4
 CATEGORIES=	emulators
 # I don't maintain this port anymore, but I'm happy to track the distfiles, as
 # it's difficult to fetch(1) them from the WWW site. If you are updating this
@@ -24,6 +24,7 @@
 
 USE_MOTIF=	yes
 USE_X_PREFIX=	yes
+USE_REINPLACE=	yes
 
 # License forbids redistribution
 RESTRICTED=	Redistribution forbidden by license
@@ -33,10 +34,11 @@
 
 MAN1=		xzx.1
 
-.include <bsd.port.pre.mk>
+# Prevent configure from trying to run auto* since it's not needed and will
+# error if auto* < 2.54
+post-configure:
+		@${REINPLACE_CMD} 's@autoheader@${TRUE}@g' ${WRKSRC}/Makefile
+		@${REINPLACE_CMD} 's@autoconf@${TRUE}@g' ${WRKSRC}/Makefile
+		@${ECHO_CMD} "${TRUE}" > ${WRKSRC}/missing
 
-.if ${ARCH} != "i386" && ${OSVERSION} >= 502102
-BROKEN=		"Does not compile on !i386 5.x"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN xzx.old/distinfo xzx/distinfo
--- xzx.old/distinfo	Thu Jan 29 08:23:41 2004
+++ xzx/distinfo	Sat Feb 28 12:29:21 2004
@@ -1,2 +1,2 @@
-MD5 (xzx-pro-4.3.tar.gz) = a73eec54c50d0a6569406f071662c12a
-SIZE (xzx-pro-4.3.tar.gz) = 560610
+MD5 (xzx-pro-4.4.tar.gz) = 8c4cd4677b8e06f40c8f27507695d723
+SIZE (xzx-pro-4.4.tar.gz) = 622969
diff -ruN xzx.old/files/patch-roms::Makefile.in xzx/files/patch-roms::Makefile.in
--- xzx.old/files/patch-roms::Makefile.in	Thu Jan  1 01:00:00 1970
+++ xzx/files/patch-roms::Makefile.in	Sat Feb 28 13:06:47 2004
@@ -0,0 +1,11 @@
+--- roms/Makefile.in.orig	Sat Feb 28 13:05:47 2004
++++ roms/Makefile.in	Sat Feb 28 13:06:25 2004
+@@ -323,7 +323,7 @@
+ 	for f in $(DATA_FILES); do \
+ 	  $(INSTALL_DATA) $$f $(DESTDIR)$(pkglibdir); \
+ 	done
+-	(cd $(DESTDIR)$(pkglibdir); rm if1.rom; ln if1-v2.rom if1.rom)
++	(cd $(DESTDIR)$(pkglibdir); rm -f if1.rom; ln if1-v2.rom if1.rom)
+ 
+ uninstall-local:
+ 	for f in $(DATA_FILES); do \
--- xzx.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



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