aboutsummaryrefslogtreecommitdiff
path: root/emulators/darcnes
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/darcnes
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'emulators/darcnes')
-rw-r--r--emulators/darcnes/Makefile4
-rw-r--r--emulators/darcnes/files/patch-ab13
2 files changed, 8 insertions, 9 deletions
diff --git a/emulators/darcnes/Makefile b/emulators/darcnes/Makefile
index 8866659bed67..0ab2cab002f8 100644
--- a/emulators/darcnes/Makefile
+++ b/emulators/darcnes/Makefile
@@ -7,7 +7,7 @@
PORTNAME= darcnes
PORTVERSION= 9b0401
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= emulators
MASTER_SITES= http://www.dridus.com/~nyef/darcnes/download/
DISTNAME= dn${PORTVERSION}
@@ -43,7 +43,7 @@ LIB_DEPENDS+= vga:${PORTSDIR}/graphics/svgalib
MAKE_ARGS+= TARGET=Linux_svgalib
PKGNAMESUFFIX= -svgalib
.else
-USE_XLIB= yes
+USE_XORG= x11 xaw xext xmu xt
.endif
.endif
diff --git a/emulators/darcnes/files/patch-ab b/emulators/darcnes/files/patch-ab
index 69bbc0bfc021..7d046d199615 100644
--- a/emulators/darcnes/files/patch-ab
+++ b/emulators/darcnes/files/patch-ab
@@ -1,5 +1,5 @@
---- Makefile.orig Wed Mar 28 09:51:41 2001
-+++ Makefile Mon Feb 2 20:30:32 2004
+--- Makefile.orig 2001-03-28 02:51:41.000000000 +0200
++++ Makefile 2008-04-01 16:53:11.000000000 +0200
@@ -11,16 +11,16 @@
#C_ONLY=-DC_ONLY
@@ -36,17 +36,16 @@
LIBS=-lvgagl -lvga
endif
-@@ -43,9 +47,10 @@
+@@ -43,9 +47,9 @@
#
ifeq ($(TARGET),Linux_X)
CONFFLAGS=-DPCE_CD_SUPPORT -DSOUND
-LDFLAGS+=-L/usr/X11R6/lib
-CFLAGS+=-I/usr/X11R6/include
-SFLAGS+=-I/usr/X11R6/include
-+X11BASE?=/usr/X11R6
-+LDFLAGS+=-L${X11BASE}/lib
-+CFLAGS+=-I${X11BASE}/include
-+SFLAGS+=-I${X11BASE}/include
++LDFLAGS+=-L${LOCALBASE}/lib
++CFLAGS+=-I${LOCALBASE}/include
++SFLAGS+=-I${LOCALBASE}/include
SYSTEMSRCS=video_x.c ui_x.c snd_unix.c keyboard_x.c cd_unix.c
BINFILE=darcnes
LIBS=-lXext -lXaw -lXmu -lXt -lX11