From 2ae09a40a14a178672a58f8c3a98f3badf080187 Mon Sep 17 00:00:00 2001 From: Patrick Li Date: Wed, 7 Aug 2002 17:41:19 +0000 Subject: Add patch to fix build because some paths need correction, already in xmame. PR: ports/41099 Submitted by: Adam Weinberger Approved by: maintainer --- emulators/xmess/files/patch-src-unix::unix.mak | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 emulators/xmess/files/patch-src-unix::unix.mak (limited to 'emulators') 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 -- cgit v1.2.3