summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2012-10-16 15:31:40 +0000
committerasau <asau@pkgsrc.org>2012-10-16 15:31:40 +0000
commit25c29480c96d16d62b94e57e9aefa38ae903ee43 (patch)
treebf5d4e1bfe3fe5cb4b971c90246dfd1cc7faccb4 /archivers
parent78b55ef3f3ec04c011758036162ee717b299c392 (diff)
downloadpkgsrc-25c29480c96d16d62b94e57e9aefa38ae903ee43.tar.gz
Include bsd.prefs.mk before ".if" so that MACHINE_ARCH is defined.
Noticed with non-native bmake (on FreeBSD).
Diffstat (limited to 'archivers')
-rw-r--r--archivers/ocaml-bz2/Makefile4
1 files changed, 3 insertions, 1 deletions
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") || \