From 416dd56f2937d8b0ff606dad85d4363dd64ff66c Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Tue, 26 Nov 1996 08:42:23 +0000 Subject: Make this thing actually compile without Motif. --- games/imaze/Makefile | 10 +++------- games/imaze/files/patch-aa | 2 +- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'games/imaze') diff --git a/games/imaze/Makefile b/games/imaze/Makefile index 82615b0df617..3a96785f7567 100644 --- a/games/imaze/Makefile +++ b/games/imaze/Makefile @@ -14,21 +14,17 @@ DISTFILES= imaze1.3.tar.Z imaze.tar MAINTAINER= kuehn@rz.tu-clausthal.de -.if defined(HAVE_MOTIF) && defined(FORCE_MOTIF) -.if !defined(MOTIFLIB) -MOTIFLIB= -L${X11BASE}/lib -lXm -.endif -MAKE_ENV+= FORCE_MOTIF=${FORCE_MOTIF} +.if defined(HAVE_MOTIF) && !defined(PACKAGE_BUILDING) +MAKE_ENV+= FORCE_MOTIF=yes .else LIB_DEPENDS= xview\\.3\\.2:${PORTSDIR}/x11/xview-lib .endif EXTRACT_ONLY= imaze1.3.tar.Z -NO_CONFIGURE= yes USE_X11= yes post-extract: - @cp ${FILESDIR}/Makefile ${WRKDIR}/imaze/Makefile + @${CP} ${FILESDIR}/Makefile ${WRKDIR}/imaze/Makefile @tar xf ${DISTDIR}/imaze.tar -C ${WRKDIR}/imaze .include diff --git a/games/imaze/files/patch-aa b/games/imaze/files/patch-aa index 62a22fff91d7..4921671a2563 100644 --- a/games/imaze/files/patch-aa +++ b/games/imaze/files/patch-aa @@ -19,7 +19,7 @@ all freebsd: -+ .if defined(HAVE_MOTIF) && defined(FORCE_MOTIF) ++ .if defined(HAVE_MOTIF) && defined(FORCE_MOTIF) && ${FORCE_MOTIF} == "yes" + $(MAKE) \ + GRAF=MOTIF \ + GRAFLIBS='$$(MOTIFLIB) $$(MOTIFLIBS)' \ -- cgit v1.2.3