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
parentUpdate to version 2.2.6 (diff)
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
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.