summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-08-07 17:41:19 +0000
committerPatrick Li <pat@FreeBSD.org>2002-08-07 17:41:19 +0000
commit2ae09a40a14a178672a58f8c3a98f3badf080187 (patch)
treefa09e82a814fd20c2a5da856e6d9bce120eaad81 /emulators
parentFix distfile site and project page (diff)
Add patch to fix build because some paths need correction, already
in xmame. PR: ports/41099 Submitted by: Adam Weinberger <adam@vectors.cx> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=64158
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xmess/files/patch-src-unix::unix.mak28
1 files changed, 28 insertions, 0 deletions
diff --git a/emulators/xmess/files/patch-src-unix::unix.mak b/emulators/xmess/files/patch-src-unix::unix.mak
new file mode 100644
index 000000000000..823182c58112
--- /dev/null
+++ b/emulators/xmess/files/patch-src-unix::unix.mak
@@ -0,0 +1,28 @@
+--- src/unix/unix.mak.orig Sun Jul 28 18:47:11 2002
++++ src/unix/unix.mak Sun Jul 28 18:54:26 2002
+@@ -45,20 +45,20 @@
+
+ # svga and ggi also use $(X11LIB) since that's where zlib often is
+ LIBS.x11 = $(X11LIB) $(JOY_X11_LIBS) -lX11 -lXext
+-LIBS.svgalib = $(X11LIB) -lvga -lvgagl
++LIBS.svgalib = $(LOCALBASE)/lib -lvga -lvgagl
+ LIBS.ggi = $(X11LIB) -lggi
+-LIBS.xgl = $(X11LIB) $(JOY_X11_LIBS) -lX11 -lXext $(GLLIBS) -ljpeg
++LIBS.xgl = $(X11LIB) $(JOY_X11_LIBS) -lX11 -lXext $(GLLIBS) -L$(LOCALBASE)/lib -ljpeg
+ LIBS.xfx = $(X11LIB) $(JOY_X11_LIBS) -lX11 -lXext -lglide2x
+ LIBS.svgafx = $(X11LIB) -lvga -lvgagl -lglide2x
+ LIBS.openstep = -framework AppKit
+-LIBS.SDL = `sdl-config --libs`
++LIBS.SDL = `$(SDL_CONFIG) --libs`
+ LIBS.photon2 = -L/usr/lib -lph -lphrender
+
+ CFLAGS.x11 = $(X11INC) $(JOY_X11_CFLAGS)
+-CFLAGS.xgl = $(X11INC) $(JOY_X11_CFLAGS) $(GLCFLAGS)
++CFLAGS.xgl = -DGLU_VERSION_1_2 $(X11INC) $(JOY_X11_CFLAGS) $(GLCFLAGS) -I$(LOCALBASE)/include $(PTHREAD_CFLAGS)
+ CFLAGS.xfx = $(X11INC) $(JOY_X11_CFLAGS) -I/usr/include/glide
+ CFLAGS.svgafx = -I/usr/include/glide
+-CFLAGS.SDL = -D_REENTRANT
++CFLAGS.SDL = $(X11INC) `$(SDL_CONFIG) --cflags`
+ CFLAGS.photon2 =
+
+ INST.x11 = doinstall