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.
This commit is contained in:
dmcmahill 2001-02-03 09:07:21 +00:00
parent 4c651a332a
commit 98809be61b

View file

@ -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"