summaryrefslogtreecommitdiffstats
path: root/games/imaze
diff options
context:
space:
mode:
authortorstenb <torstenb@FreeBSD.org>1996-11-19 14:00:36 +0000
committertorstenb <torstenb@FreeBSD.org>1996-11-19 14:00:36 +0000
commitb560a261eecc36f8b63a853430bb587887647d4d (patch)
tree5fc62d41f1bf286eedc069b795a859442f1eabf7 /games/imaze
parent1e6b7bab350bbea94681fcac5d1fa01bced480f0 (diff)
downloadFreeBSD-ports-b560a261eecc36f8b63a853430bb587887647d4d.zip
FreeBSD-ports-b560a261eecc36f8b63a853430bb587887647d4d.tar.gz
- if MOTIFLIB is not defined, setup a default
- only use Motif if "FORCE_MOTIF" is defined
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 ae84e1a..82615b0 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 e0b33f5..62a22ff 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)' \
OpenPOWER on IntegriCloud