pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/hevea Switch to ocaml.mk framework and use oc...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6158393c69ea
branches: trunk
changeset: 352665:6158393c69ea
user: dholland <dholland%pkgsrc.org@localhost>
date: Sun Sep 18 07:15:08 2016 +0000
description:
Switch to ocaml.mk framework and use ocamlbuild.
diffstat:
textproc/hevea/Makefile | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (27 lines):
diff -r 3aea45e9a3b8 -r 6158393c69ea textproc/hevea/Makefile
--- a/textproc/hevea/Makefile Sun Sep 18 07:08:19 2016 +0000
+++ b/textproc/hevea/Makefile Sun Sep 18 07:15:08 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2015/05/06 20:45:43 tonio Exp $
+# $NetBSD: Makefile,v 1.22 2016/09/18 07:15:08 dholland Exp $
DISTNAME= hevea-2.23
CATEGORIES= textproc
@@ -11,14 +11,12 @@
MAKE_ENV+= DESTDIR=${DESTDIR}
-.include "../../mk/bsd.prefs.mk"
-
-.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64") || (${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH} == "sparc")
-BUILD_DEPENDS+= ocaml>=3.12:../../lang/ocaml
+.include "../../mk/ocaml.mk"
+.if !empty(OCAML_USE_OPT_COMPILER:M[Yy][Ee][Ss])
MAKE_ENV+= TARGET=opt
.else
-DEPENDS+= ocaml>=3.12:../../lang/ocaml
MAKE_ENV+= TARGET=byte
.endif
+.include "../../devel/ocamlbuild/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index