1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/games/imaze/files/patch-aa
Torsten Blum 4e0ef0f618 Use Motif if HAVE_MOTIF and MOTIFLIB are defined (/etc/make.conf).
default it to build the xview version.
1996-11-19 11:06:46 +00:00

61 lines
1.3 KiB
Plaintext

*** source/Makefile.orig Thu Feb 22 23:01:18 1996
--- source/Makefile Tue Nov 19 11:45:31 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)
+ $(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)