summaryrefslogtreecommitdiff
path: root/net/unison
diff options
context:
space:
mode:
Diffstat (limited to 'net/unison')
-rw-r--r--net/unison/Makefile11
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"