aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-08-08 01:41:19 +0800
committerpat <pat@FreeBSD.org>2002-08-08 01:41:19 +0800
commit2f82869e42f374e28cef7571b69e4647d4c5d6b4 (patch)
tree295293f0b202fa1d6858c366f4b1c7b0c60f6de1
parente6e0e38ccea97423ec52b4fceb5d78298ab2973c (diff)
downloadfreebsd-ports-gnome-2f82869e42f374e28cef7571b69e4647d4c5d6b4.tar.gz
freebsd-ports-gnome-2f82869e42f374e28cef7571b69e4647d4c5d6b4.tar.zst
freebsd-ports-gnome-2f82869e42f374e28cef7571b69e4647d4c5d6b4.zip
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
-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