freebsd-ports/games/imaze/files/patch-aa
1996-11-26 08:42:23 +00:00

61 lines
1.4 KiB
Plaintext

*** source/Makefile.orig Thu Feb 22 23:01:18 1996
--- source/Makefile Tue Nov 19 14:50:50 1996
***************
*** 111,123 ****
all
freebsd:
$(MAKE) \
OPENWINHOME='/usr/X11R6' \
GRAFLIBS='$$(XVLIBS)' \
GRAFINCLUDES='$$(XVINCLUDES)' \
GRAFOBJS='$$(XVOBJS)' \
! SYSDEFS='-DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK' \
all
irix:
$(MAKE) \
--- 111,135 ----
all
freebsd:
+ .if defined(HAVE_MOTIF) && defined(FORCE_MOTIF) && ${FORCE_MOTIF} == "yes"
+ $(MAKE) \
+ GRAF=MOTIF \
+ GRAFLIBS='$$(MOTIFLIB) $$(MOTIFLIBS)' \
+ GRAFINCLUDES='-I$$(X11BASE)/include' \
+ GRAFOBJS='$$(MOTIFOBJS)' \
+ SYSDEFS='-DDONT_DECLARE_ERRLIST -DSOUND \
+ -DDEFAULT_SOUND_DIR=\"$(SOUNDDIR)\" -DJOYSTICK' \
+ all
+ .else
$(MAKE) \
OPENWINHOME='/usr/X11R6' \
GRAFLIBS='$$(XVLIBS)' \
GRAFINCLUDES='$$(XVINCLUDES)' \
GRAFOBJS='$$(XVOBJS)' \
! SYSDEFS='-DDONT_DECLARE_ERRLIST -DSOUND \
! -DDEFAULT_SOUND_DIR=\"$(SOUNDDIR)\" -DJOYSTICK' \
all
+ .endif
irix:
$(MAKE) \
***************
*** 143,149 ****
XVLIBS=-L$(OPENWINHOME)/lib -lxview -lolgx -lX11
XVINCLUDES=-I$(OPENWINHOME)/include
! MOTIFLIBS=-lXm -lXt -lX11
MOTIFINCLUDES=
GRAFLIBS=$($(GRAF)LIBS)
--- 155,161 ----
XVLIBS=-L$(OPENWINHOME)/lib -lxview -lolgx -lX11
XVINCLUDES=-I$(OPENWINHOME)/include
! MOTIFLIBS=-lXt -lX11
MOTIFINCLUDES=
GRAFLIBS=$($(GRAF)LIBS)