summaryrefslogtreecommitdiffstats
path: root/games/imaze/files/patch-aa
blob: 62a22fff91d74d47563cc4d7496cdc755ab65b11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
*** 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)
+ 	$(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)
OpenPOWER on IntegriCloud