diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2001-02-03 09:07:21 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2001-02-03 09:07:21 +0000 |
commit | 98809be61bf08bb7772b388d2240fede5d6ad923 (patch) | |
tree | faab814eb5731b8492806ab24ab3941ea482933a /net/unison/Makefile | |
parent | 4c651a332a1b75d05591af5c69a45089367c11a2 (diff) | |
download | pkgsrc-98809be61bf08bb7772b388d2240fede5d6ad923.tar.gz |
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.
Diffstat (limited to 'net/unison/Makefile')
-rw-r--r-- | net/unison/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/net/unison/Makefile b/net/unison/Makefile index c439f4d76cf..a1a114acf5f 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" |