summaryrefslogtreecommitdiff
path: root/emulators/vgb
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/vgb
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
Notes
Diffstat (limited to 'emulators/vgb')
-rw-r--r--emulators/vgb/Makefile4
-rw-r--r--emulators/vgb/files/patch-aa2
2 files changed, 3 insertions, 3 deletions
diff --git a/emulators/vgb/Makefile b/emulators/vgb/Makefile
index e9a7f32bc884..bfa7f1826f8b 100644
--- a/emulators/vgb/Makefile
+++ b/emulators/vgb/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vgb
PORTVERSION= 0.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= trevor
@@ -19,7 +19,7 @@ COMMENT= Nintendo GameBoy(tm) emulator
WRKSRC= ${WRKDIR}/GB
-USE_X_PREFIX= yes
+USE_XORG= x11 xext
do-configure:
@${SED} -e 's:%%PREFIX%%:${PREFIX}:g' ${FILESDIR}/vgb.sh \
diff --git a/emulators/vgb/files/patch-aa b/emulators/vgb/files/patch-aa
index 7b4066607784..93ce83ec0574 100644
--- a/emulators/vgb/files/patch-aa
+++ b/emulators/vgb/files/patch-aa
@@ -17,7 +17,7 @@
# libraries libX11.* and libXext.* are located on your system.
! CC ?= gcc
! DEFINES = -DUNIX -DLSB_FIRST
-! CFLAGS += -I${X11BASE}/include -L${X11BASE}/lib ${DEFINES}
+! CFLAGS += -I${LOCALBASE}/include -L${LOCALBASE}/lib ${DEFINES}
OBJECTS = VGB.o GB.o Z80.o Debug.o Unix.o
# Make the standard distribution: VGB, DASM, and utilities.