diff options
author | asami <asami@FreeBSD.org> | 1996-11-26 08:42:23 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1996-11-26 08:42:23 +0000 |
commit | 0e351c76b8e387429f008cecee24ce06baa1abce (patch) | |
tree | a93195d25543908c35c155737b362229010bf49a /games | |
parent | 1bed4e418b47c2272307e784971c413c6cbeba53 (diff) | |
download | FreeBSD-ports-0e351c76b8e387429f008cecee24ce06baa1abce.zip FreeBSD-ports-0e351c76b8e387429f008cecee24ce06baa1abce.tar.gz |
Make this thing actually compile without Motif.
Diffstat (limited to 'games')
-rw-r--r-- | games/imaze/Makefile | 10 | ||||
-rw-r--r-- | games/imaze/files/patch-aa | 2 |
2 files changed, 4 insertions, 8 deletions
diff --git a/games/imaze/Makefile b/games/imaze/Makefile index 82615b0..3a96785 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 <bsd.port.mk> diff --git a/games/imaze/files/patch-aa b/games/imaze/files/patch-aa index 62a22ff..4921671 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)' \ |