From c04d84e8281b05347c5fa52451d9c46832086c69 Mon Sep 17 00:00:00 2001 From: Torsten Blum Date: Tue, 19 Nov 1996 14:00:36 +0000 Subject: - if MOTIFLIB is not defined, setup a default - only use Motif if "FORCE_MOTIF" is defined --- games/imaze/Makefile | 7 ++++++- games/imaze/files/patch-aa | 4 ++-- 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)' \ -- cgit v1.2.3