pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/hevea
Module Name: pkgsrc
Committed By: dholland
Date: Sun Sep 18 07:15:08 UTC 2016
Modified Files:
pkgsrc/textproc/hevea: Makefile
Log Message:
Switch to ocaml.mk framework and use ocamlbuild.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/textproc/hevea/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/hevea/Makefile
diff -u pkgsrc/textproc/hevea/Makefile:1.21 pkgsrc/textproc/hevea/Makefile:1.22
--- pkgsrc/textproc/hevea/Makefile:1.21 Wed May 6 20:45:43 2015
+++ pkgsrc/textproc/hevea/Makefile Sun Sep 18 07:15:08 2016
@@ -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 @@ LICENSE= qpl-v1.0
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