pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/ocaml-bz2 Include bsd.prefs.mk before ".if" ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5232a6959804
branches:  trunk
changeset: 610028:5232a6959804
user:      asau <asau%pkgsrc.org@localhost>
date:      Tue Oct 16 15:31:40 2012 +0000

description:
Include bsd.prefs.mk before ".if" so that MACHINE_ARCH is defined.
Noticed with non-native bmake (on FreeBSD).

diffstat:

 archivers/ocaml-bz2/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r caf9e369d7bf -r 5232a6959804 archivers/ocaml-bz2/Makefile
--- a/archivers/ocaml-bz2/Makefile      Tue Oct 16 13:21:31 2012 +0000
+++ b/archivers/ocaml-bz2/Makefile      Tue Oct 16 15:31:40 2012 +0000
@@ -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 @@
 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") || \



Home | Main Index | Thread Index | Old Index