diff options
author | asau <asau> | 2012-10-16 15:31:40 +0000 |
---|---|---|
committer | asau <asau> | 2012-10-16 15:31:40 +0000 |
commit | 3c69f01211c42cc3a8369c4db3ef8022fe0bb50d (patch) | |
tree | bf5d4e1bfe3fe5cb4b971c90246dfd1cc7faccb4 /archivers | |
parent | 786cb4be0d24992a7dde7d4a7e44d69ddcb22ec7 (diff) | |
download | pkgsrc-3c69f01211c42cc3a8369c4db3ef8022fe0bb50d.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/Makefile | 4 |
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") || \ |