aboutsummaryrefslogtreecommitdiff
path: root/emulators/xmame
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /emulators/xmame
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'emulators/xmame')
-rw-r--r--emulators/xmame/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index 67676c0d4b01..f83eef163065 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= xmame
PORTVERSION?= 0.106
-PORTREVISION?= 3
+PORTREVISION?= 4
CATEGORIES= emulators
MASTER_SITES= http://www.franksworld.org/dist/xmame/ \
http://x.mame.net/download/ \
@@ -143,9 +143,9 @@ SDLSOUNDCOMMENT=
.endif
.if defined(WITH_OPENGL)
-USE_XLIB= yes
+USE_XORG+= x11
DISPLAY_TARGET= opengl
-CFLAGS+= ${PTHREAD_CFLAGS} -I${X11BASE}/include
+CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
USE_GL= yes
DISPLAY_METHOD= x11
PLIST_SUB+= OPENGL=""
@@ -157,13 +157,13 @@ PLIST_SUB+= OPENGL="@comment "
.if defined(WITH_SVGALIB)
DISPLAY_TARGET= svgalib
LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
-USE_XPM= yes
+USE_XORG+= xpm
DISPLAY_METHOD= svgalib
.endif
.if defined(WITH_X11)
DISPLAY_METHOD= x11
-USE_XLIB= yes
+USE_XORG+= x11
.endif
# Option WITH_ESOUND
@@ -203,7 +203,7 @@ do-configure:
-e "s@# SOUND_SDL@${SDLSOUNDCOMMENT}SOUND_SDL@g" \
-e "s@^DISPLAY_METHOD.*@DISPLAY_METHOD = ${DISPLAY_METHOD}@g" \
-e "s@# X11_DGA@X11_DGA@g" \
- -e "s@/usr/X11R6@${X11BASE}@g" \
+ -e "s@/usr/X11R6@${LOCALBASE}@g" \
-e "s@^SDL_CONFIG.*@SDL_CONFIG = ${SDL_CONFIG}@g" \
-e "s@^GLLIBS += .*@GLLIBS += ${PTHREAD_LIBS}@g" \
${WRKSRC}/makefile.unix