From 25c29480c96d16d62b94e57e9aefa38ae903ee43 Mon Sep 17 00:00:00 2001 From: asau Date: Tue, 16 Oct 2012 15:31:40 +0000 Subject: Include bsd.prefs.mk before ".if" so that MACHINE_ARCH is defined. Noticed with non-native bmake (on FreeBSD). --- archivers/ocaml-bz2/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'archivers') diff --git a/archivers/ocaml-bz2/Makefile b/archivers/ocaml-bz2/Makefile index fd39b2959d9..c0bcab3d180 100644 --- a/archivers/ocaml-bz2/Makefile +++ b/archivers/ocaml-bz2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2012/10/08 15:18:20 jaapb Exp $ +# $NetBSD: Makefile,v 1.4 2012/10/16 15:31:40 asau Exp $ PKGNAME= ocaml-bz2-${VERSION} DISTNAME= camlbz2-${VERSION} @@ -16,6 +16,8 @@ GNU_CONFIGURE= yes USE_TOOLS+= gmake MAKE_JOBS_SAFE= no +.include "../../mk/bsd.prefs.mk" + PLIST_VARS+= opt .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64") || \ -- cgit v1.2.3