From owner-freebsd-ports Tue Jan 8 8:20: 9 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8747137B417 for ; Tue, 8 Jan 2002 08:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g08GK1Q25284; Tue, 8 Jan 2002 08:20:01 -0800 (PST) (envelope-from gnats) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id 0D62537B419 for ; Tue, 8 Jan 2002 08:10:38 -0800 (PST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.11.6/8.11.4) id g08GAb958041; Tue, 8 Jan 2002 17:10:37 +0100 (CET) (envelope-from stijn) Message-Id: <200201081610.g08GAb958041@pcwin002.win.tue.nl> Date: Tue, 8 Jan 2002 17:10:37 +0100 (CET) From: stijn@win.tue.nl Reply-To: stijn@win.tue.nl To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/33704: [MAINTAINER UPDATE]: emulators/xmame Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33704 >Category: ports >Synopsis: [MAINTAINER UPDATE]: emulators/xmame >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Jan 08 08:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Stijn Hoop >Release: FreeBSD 4.5-PRERELEASE i386 >Organization: >Environment: System: FreeBSD 4.5-PRERELEASE #2: Mon Jan 7 11:56:33 CET 2002 >Description: - Update to 0.57.1, with network support! Yay! - Some minor cleanups to Makefile generation >How-To-Repeat: N/A >Fix: diff -urN --exclude=CVS /usr/ports/emulators/xmame/Makefile xmame/Makefile --- /usr/ports/emulators/xmame/Makefile Sun Jan 6 05:33:45 2002 +++ xmame/Makefile Tue Jan 8 17:02:00 2002 @@ -6,7 +6,7 @@ # PORTNAME?= xmame -PORTVERSION?= 0.56.2 +PORTVERSION?= 0.57.1 CATEGORIES= emulators MASTER_SITES= http://x.mame.net/download/ \ http://www.mame.net/zips/ \ @@ -226,6 +226,23 @@ .endif .endif +.if ${MAMEMESS} == "mame" +# Network support - enabled by default because the penalty is low. There might +# be a speedup without it though, so I've made it (yet another) option. +.if !defined(WITH_NETWORK) || ${WITH_NETWORK} != "no" +NETWORK= +.else +NETWORK=\#\ +.endif +.if !defined(WITH_NETWORK) +pre-everything:: + @echo "===> If you want to build ${MAMEMESS:U} without network support," + @echo " use \"make WITH_NETWORK=no\"" +.endif +.else +NETWORK=\#\ +.endif + # Some simple patches that don't warrant a separate patch post-patch: ${PERL} -pi -e 's@SDL/@SDL11/@' ${WRKSRC}/src/unix/video-drivers/SDL.c @@ -241,17 +258,17 @@ do-configure: ${SED} -e "s@= gcc@?= ${CC}@g" \ -e "s@^CFLAGS.*@CFLAGS ?= ${CFLAGS}@g" \ - -e "s@= cp@?= ${INSTALL} ${COPY}@g" \ -e "s@lib/x\$$(TARGET)@share/x\$$(TARGET)@g" \ -e "s@/usr/X11R6@${X11BASE}@g" \ -e "s@-g bin@-g wheel@g" \ - -e "s@ARCH = linux@ARCH = freebsd@g" \ + -e "s@^ARCH = linux@ARCH = freebsd@g" \ -e "s@# X11_DGA@X11_DGA@g" \ -e "s@# JOY_USB@${JOYUSBCOMMENT}JOY_USB@g" \ -e "s@= x11@= ${DISPLAY_METHOD}@g" \ -e "s@= mame@= ${MAMEMESS}@g" \ -e "s@# X86_ASM@${ASM_COMMENT}X86_ASM@g" \ -e "s@# SOUND_ESOUND@${ESOUNDCOMMENT}SOUND_ESOUND@g" \ + -e "s@# MAME_NET@${NETWORK}MAME_NET@g" \ -e "s@GLLIBS=.-ldl@GLLIBS= ${PTHREAD_LIBS}@g" \ ${WRKSRC}/makefile.unix > ${WRKSRC}/Makefile diff -urN --exclude=CVS /usr/ports/emulators/xmame/distinfo xmame/distinfo --- /usr/ports/emulators/xmame/distinfo Sun Jan 6 05:33:45 2002 +++ xmame/distinfo Sun Jan 6 23:41:20 2002 @@ -1,3 +1,4 @@ +MD5 (xmame/xmame-0.57.1.tar.bz2) = 0f38ebbde013442ee2d41153bb4c0c6f MD5 (xmame/xmame-0.56.2.tar.bz2) = e43dd5e087f954351948fb9848485924 MD5 (xmame/xmame-0.37b14.2.tar.bz2) = 34bfba3d1412a8f8e1abd4d738de3f27 MD5 (xmame/cheat.zip) = b745ea4df1a3a517c00fedae1ee49a14 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message