From 98809be61bf08bb7772b388d2240fede5d6ad923 Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Sat, 3 Feb 2001 09:07:21 +0000 Subject: [PATCH] we don't have ocamlopt on non-i386 so don't try and use it on non-i386, use ocamlc in that case. Fixes recently noted compile problems on alpha. --- net/unison/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/net/unison/Makefile b/net/unison/Makefile index c439f4d76cf0..a1a114acf5ff 100644 --- a/net/unison/Makefile +++ b/net/unison/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/01/11 01:45:36 mjl Exp $ +# $NetBSD: Makefile,v 1.2 2001/02/03 09:07:21 dmcmahill Exp $ # DISTNAME= src @@ -16,6 +16,13 @@ DIST_SUBDIR= unison # docs: unison-manual.pdf/html/ps/dvi WRKSRC= ${WRKDIR}/${PKGNAME} USE_GMAKE= yes -MAKE_FLAGS= CFLAGS="" UISTYLE=text +MAKE_FLAGS+= CFLAGS="" UISTYLE=text + +.include "../../mk/bsd.prefs.mk" + +.if (${MACHINE_ARCH} != "i386") +# we don't have ocamlopt on non-i386 so don't try and use it +MAKE_FLAGS+= NATIVE=false +.endif .include "../../mk/bsd.pkg.mk"