1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/games/imaze/files/patch-aa
Steve Price e05363d82d Among other things build the XView version by default.
PR:		10056
Submitted by:	maintainer
1999-02-22 04:00:36 +00:00

39 lines
964 B
Plaintext

--- source/Makefile.orig Sat Feb 13 00:33:39 1999
+++ source/Makefile Sat Feb 13 00:41:26 1999
@@ -111,13 +111,24 @@
all
freebsd:
+.if defined(FORCE_MOTIF) && ${FORCE_MOTIF} == "yes"
$(MAKE) \
- OPENWINHOME='/usr/X11R6' \
+ GRAF=MOTIF \
+ GRAFLIBS='$$(MOTIFLIB) $$(MOTIFLIBS)' \
+ GRAFINCLUDES='-I$$(X11BASE)/include' \
+ GRAFOBJS='$$(MOTIFOBJS)' \
+ SYSDEFS='-DDONT_DECLARE_ERRLIST -DJOYSTICK' \
+ all
+.else
+ $(MAKE) \
+ OPENWINHOME='$$(X11BASE)' \
GRAFLIBS='$$(XVLIBS)' \
GRAFINCLUDES='$$(XVINCLUDES)' \
GRAFOBJS='$$(XVOBJS)' \
- SYSDEFS='-DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK' \
+ SYSDEFS='-DDONT_DECLARE_ERRLIST -DSOUND \
+ -DDEFAULT_SOUND_DIR=\"$(SOUNDDIR)\" -DJOYSTICK' \
all
+.endif
irix:
$(MAKE) \
@@ -143,7 +154,7 @@
XVLIBS=-L$(OPENWINHOME)/lib -lxview -lolgx -lX11
XVINCLUDES=-I$(OPENWINHOME)/include
-MOTIFLIBS=-lXm -lXt -lX11
+MOTIFLIBS=-lXt -lX11
MOTIFINCLUDES=
GRAFLIBS=$($(GRAF)LIBS)