svn commit: r349826 - in head/math/facile: . files
Max Brazhnikov
makc at FreeBSD.org
Tue Apr 1 08:41:14 UTC 2014
Author: makc
Date: Tue Apr 1 08:41:13 2014
New Revision: 349826
URL: http://svnweb.freebsd.org/changeset/ports/349826
QAT: https://qat.redports.org/buildarchive/r349826/
Log:
math/facile:
- add patch to fix build with ocaml-4
- modernize Makefile (USES, staging)
- bump PORTREVISION after ocaml update
- assign maintainership to kde@
Added:
head/math/facile/files/
head/math/facile/files/patch-ocaml4 (contents, props changed)
Modified:
head/math/facile/Makefile
head/math/facile/pkg-descr
Modified: head/math/facile/Makefile
==============================================================================
--- head/math/facile/Makefile Tue Apr 1 08:28:26 2014 (r349825)
+++ head/math/facile/Makefile Tue Apr 1 08:41:13 2014 (r349826)
@@ -3,23 +3,26 @@
PORTNAME= facile
PORTVERSION= 1.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= math
MASTER_SITES= http://www.recherche.enac.fr/log/facile/distrib/
-MAINTAINER= ports at FreeBSD.org
-COMMENT= A Functional Constraint Library
+MAINTAINER= kde at FreeBSD.org
+COMMENT= Functional Constraint Library
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= gmake
USE_OCAML= yes
HAS_CONFIGURE= yes
-USE_GMAKE= yes
ALL_TARGET= compile
-NO_STAGE= yes
-post-patch:
- ${REINPLACE_CMD} -e "s,make,${GMAKE},; \
- s,cp,${INSTALL_DATA}," ${WRKSRC}/Makefile
+post-configure:
+ ${REINPLACE_CMD} -e "s,make,${MAKE_CMD},; \
+ s,cp,${INSTALL_DATA},;\
+ s,mkdir,${MKDIR}," ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e "s,${LOCALBASE},${STAGEDIR}${PREFIX}," \
+ ${WRKSRC}/config_Makefile
.include <bsd.port.mk>
Added: head/math/facile/files/patch-ocaml4
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/facile/files/patch-ocaml4 Tue Apr 1 08:41:13 2014 (r349826)
@@ -0,0 +1,11 @@
+--- ./src/fcl_data.ml
++++ ./src/fcl_data.ml
+@@ -16,7 +16,7 @@ end
+
+ module Hashtbl = struct
+ type ('a, 'b) t = ('a, 'b) Hashtbl.t
+- let create = Hashtbl.create
++ let create n = Hashtbl.create n
+ let get h = h
+
+ let add h k d =
Modified: head/math/facile/pkg-descr
==============================================================================
--- head/math/facile/pkg-descr Tue Apr 1 08:28:26 2014 (r349825)
+++ head/math/facile/pkg-descr Tue Apr 1 08:41:13 2014 (r349826)
@@ -7,4 +7,4 @@ FaCiLe allows as well to build easily us
making pervasive use of OCaml higher-order functionals to provide a simple
and flexible interface for the user.
-WWW: http://www.recherche.enac.fr/log/facile/
+WWW: http://www.recherche.enac.fr/log/facile/
More information about the svn-ports-head
mailing list