summaryrefslogtreecommitdiff
path: root/emulators/vgb/files
diff options
context:
space:
mode:
authorYukihiro Nakai <nakai@FreeBSD.org>2000-01-22 11:46:45 +0000
committerYukihiro Nakai <nakai@FreeBSD.org>2000-01-22 11:46:45 +0000
commit044fe0d8a22849514107c0302251f03f434a9688 (patch)
tree899ac543c0d46a568279b5e0bcdf8d9c7e123a6a /emulators/vgb/files
parentFix the ports. (diff)
Fix and updates from KATO Tsuguru.
Submitted by: "KATO Tsuguru" <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=24924
Diffstat (limited to 'emulators/vgb/files')
-rw-r--r--emulators/vgb/files/patch-aa18
-rw-r--r--emulators/vgb/files/vgb.sh4
2 files changed, 12 insertions, 10 deletions
diff --git a/emulators/vgb/files/patch-aa b/emulators/vgb/files/patch-aa
index ddf0522d1f98..7b4066607784 100644
--- a/emulators/vgb/files/patch-aa
+++ b/emulators/vgb/files/patch-aa
@@ -1,21 +1,23 @@
-*** Makefile.org Thu Oct 31 03:00:44 1996
---- Makefile Thu Oct 31 03:01:14 1996
+*** Makefile.orig Wed Jul 3 20:29:30 1996
+--- Makefile Sat Jan 15 00:00:00 2000
***************
-*** 27,34 ****
+*** 26,34 ****
+ # If you are getting linker errors about not found X11 functions,
# change the -L/usr/X11R6/lib to the directory where X11
# libraries libX11.* and libXext.* are located on your system.
- CC = gcc
+! CC = gcc
! DEFINES = -DUNIX -DLSB_FIRST -DDEBUG -DMITSHM
! CFLAGS = -O2 -I/usr/X11/include -L/usr/X11/lib/ ${DEFINES}
OBJECTS = VGB.o GB.o Z80.o Debug.o Unix.o
# Make the standard distribution: VGB, DASM, and utilities.
---- 27,34 ----
+--- 26,34 ----
+ # If you are getting linker errors about not found X11 functions,
# change the -L/usr/X11R6/lib to the directory where X11
# libraries libX11.* and libXext.* are located on your system.
- CC = gcc
-! DEFINES = -DUNIX -DLSB_FIRST -DDEBUG
-! CFLAGS = -O2 -I/usr/X11R6/include -L/usr/X11R6/lib/ ${DEFINES}
+! CC ?= gcc
+! DEFINES = -DUNIX -DLSB_FIRST
+! CFLAGS += -I${X11BASE}/include -L${X11BASE}/lib ${DEFINES}
OBJECTS = VGB.o GB.o Z80.o Debug.o Unix.o
# Make the standard distribution: VGB, DASM, and utilities.
diff --git a/emulators/vgb/files/vgb.sh b/emulators/vgb/files/vgb.sh
index eb3df1e036fa..41a0773b6ea0 100644
--- a/emulators/vgb/files/vgb.sh
+++ b/emulators/vgb/files/vgb.sh
@@ -1,3 +1,3 @@
-#! /bin/sh
+#!/bin/sh
-/usr/X11R6/libexec/VGB/vgb $*
+%%PREFIX%%/libexec/VGB/vgb $*