diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-08-07 17:41:19 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-08-07 17:41:19 +0000 |
commit | 2ae09a40a14a178672a58f8c3a98f3badf080187 (patch) | |
tree | fa09e82a814fd20c2a5da856e6d9bce120eaad81 /emulators/xmess | |
parent | 74e9226a205d16a4951937797891890ca7ef33f0 (diff) | |
download | freebsd-ports-2ae09a40a14a178672a58f8c3a98f3badf080187.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
Diffstat (limited to 'emulators/xmess')
-rw-r--r-- | emulators/xmess/files/patch-src-unix::unix.mak | 28 |
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 |