summaryrefslogtreecommitdiff
path: root/games/imaze
diff options
context:
space:
mode:
authorTorsten Blum <torstenb@FreeBSD.org>1996-11-19 14:00:36 +0000
committerTorsten Blum <torstenb@FreeBSD.org>1996-11-19 14:00:36 +0000
commitc04d84e8281b05347c5fa52451d9c46832086c69 (patch)
tree39d772e44b76e969a987e69b3fff8deb71351944 /games/imaze
parentAdd back part of manual compression rule (note double meaning of (diff)
- if MOTIFLIB is not defined, setup a default
- only use Motif if "FORCE_MOTIF" is defined
Notes
Notes: svn path=/head/; revision=4596
Diffstat (limited to 'games/imaze')
-rw-r--r--games/imaze/Makefile7
-rw-r--r--games/imaze/files/patch-aa4
2 files changed, 8 insertions, 3 deletions
diff --git a/games/imaze/Makefile b/games/imaze/Makefile
index ae84e1a1836c..82615b0df617 100644
--- a/games/imaze/Makefile
+++ b/games/imaze/Makefile
@@ -14,7 +14,12 @@ DISTFILES= imaze1.3.tar.Z imaze.tar
MAINTAINER= kuehn@rz.tu-clausthal.de
-.if !defined(HAVE_MOTIF) && !defined(MOTIFLIB)
+.if defined(HAVE_MOTIF) && defined(FORCE_MOTIF)
+.if !defined(MOTIFLIB)
+MOTIFLIB= -L${X11BASE}/lib -lXm
+.endif
+MAKE_ENV+= FORCE_MOTIF=${FORCE_MOTIF}
+.else
LIB_DEPENDS= xview\\.3\\.2:${PORTSDIR}/x11/xview-lib
.endif
diff --git a/games/imaze/files/patch-aa b/games/imaze/files/patch-aa
index e0b33f5d0799..62a22fff91d7 100644
--- a/games/imaze/files/patch-aa
+++ b/games/imaze/files/patch-aa
@@ -1,5 +1,5 @@
*** source/Makefile.orig Thu Feb 22 23:01:18 1996
---- source/Makefile Tue Nov 19 11:45:31 1996
+--- source/Makefile Tue Nov 19 14:50:50 1996
***************
*** 111,123 ****
all
@@ -19,7 +19,7 @@
all
freebsd:
-+ .if defined(HAVE_MOTIF)
++ .if defined(HAVE_MOTIF) && defined(FORCE_MOTIF)
+ $(MAKE) \
+ GRAF=MOTIF \
+ GRAFLIBS='$$(MOTIFLIB) $$(MOTIFLIBS)' \