aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/imaze/Makefile2
-rw-r--r--games/imaze/files/patch-aa48
2 files changed, 46 insertions, 4 deletions
diff --git a/games/imaze/Makefile b/games/imaze/Makefile
index 82a81852d642..ae84e1a1836c 100644
--- a/games/imaze/Makefile
+++ b/games/imaze/Makefile
@@ -14,7 +14,9 @@ DISTFILES= imaze1.3.tar.Z imaze.tar
MAINTAINER= kuehn@rz.tu-clausthal.de
+.if !defined(HAVE_MOTIF) && !defined(MOTIFLIB)
LIB_DEPENDS= xview\\.3\\.2:${PORTSDIR}/x11/xview-lib
+.endif
EXTRACT_ONLY= imaze1.3.tar.Z
NO_CONFIGURE= yes
diff --git a/games/imaze/files/patch-aa b/games/imaze/files/patch-aa
index ae473c6839d3..e0b33f5d0799 100644
--- a/games/imaze/files/patch-aa
+++ b/games/imaze/files/patch-aa
@@ -1,7 +1,12 @@
-*** source/Makefile.new Fri Apr 12 07:10:57 1996
---- source/Makefile Thu Feb 22 23:01:18 1996
+*** source/Makefile.orig Thu Feb 22 23:01:18 1996
+--- source/Makefile Tue Nov 19 11:45:31 1996
***************
-*** 116,122 ****
+*** 111,123 ****
+ all
+
+ freebsd:
+ $(MAKE) \
+ OPENWINHOME='/usr/X11R6' \
GRAFLIBS='$$(XVLIBS)' \
GRAFINCLUDES='$$(XVINCLUDES)' \
GRAFOBJS='$$(XVOBJS)' \
@@ -9,12 +14,47 @@
all
irix:
---- 116,123 ----
+ $(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)