From 3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 19 Apr 2008 17:56:05 +0000 Subject: - 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) --- emulators/vgb/Makefile | 4 ++-- emulators/vgb/files/patch-aa | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'emulators/vgb') 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. -- cgit v1.2.3