ports/65946: Incorrect s/// for network-enabling xmess|xmame

Christopher Nehren apeiron at comcast.net
Sun Apr 25 02:10:18 UTC 2004


>Number:         65946
>Category:       ports
>Synopsis:       Incorrect s/// for network-enabling xmess|xmame
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 24 19:10:17 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Christopher Nehren
>Release:        FreeBSD 5.2.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD prophecy.dyndns.org 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #0: Thu Apr 15 19:29:04 EDT 2004 root at prophecy.dyndns.org:/usr/obj/usr/src/sys/PROPHECY i386


	
>Description:
Probably because it worked in an old version, xmess|xmame try to substitute
MAME_NET in the Makefile. This doesn't work, because it's now XMAME_NET.

>How-To-Repeat:
Try to build xmame|xmess with network support and note the missing options
(-master and -slave).
>Fix:
Here's a patch.

--- /usr/ports/emulators/xmame/Makefile	Mon Apr  5 01:54:37 2004
+++ ./Makefile	Sat Apr 24 22:00:02 2004
@@ -260,7 +260,7 @@
 do-configure:
 	${REINPLACE_CMD} -e "s@= gcc@?=  ${CC}@g" \
 		-e "s@^TARGET.*@TARGET = ${MAMEMESS}@g" \
-		-e "s@# MAME_NET@${NETWORK}MAME_NET at g" \
+		-e "s@# XMAME_NET@${NETWORK}XMAME_NET at g" \
 		-e "s@# X86_ASM_68000 =@${ASM_COMMENT}X86_ASM_68000 =@g" \
 		-e "s@^CFLAGS.*@CFLAGS ?= ${CFLAGS}@g" \
 		-e "s@^INSTALL_GROUP.*@INSTALL_GROUP = wheel at g" \
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list