aboutsummaryrefslogtreecommitdiffstats
path: root/games/imaze/Makefile
diff options
context:
space:
mode:
authortorstenb <torstenb@FreeBSD.org>1996-11-19 22:00:36 +0800
committertorstenb <torstenb@FreeBSD.org>1996-11-19 22:00:36 +0800
commitb560a261eecc36f8b63a853430bb587887647d4d (patch)
tree5fc62d41f1bf286eedc069b795a859442f1eabf7 /games/imaze/Makefile
parent1e6b7bab350bbea94681fcac5d1fa01bced480f0 (diff)
downloadfreebsd-ports-gnome-b560a261eecc36f8b63a853430bb587887647d4d.tar.gz
freebsd-ports-gnome-b560a261eecc36f8b63a853430bb587887647d4d.tar.zst
freebsd-ports-gnome-b560a261eecc36f8b63a853430bb587887647d4d.zip
- if MOTIFLIB is not defined, setup a default
- only use Motif if "FORCE_MOTIF" is defined
Diffstat (limited to 'games/imaze/Makefile')
-rw-r--r--games/imaze/Makefile7
1 files changed, 6 insertions, 1 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