1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/databases/ocaml-mysql/Makefile
John Marino 802acce8c9 Make 7 ports jobs unsafe
A number of ports failed on the DragonFly package builder when
theoretically all of them should build.  They had errors in logs
indicating that was parallel building issue.  Rerunning through again
with -j1 resulted in a good build.  There were more than 7, but these
seven are the ports that I'm confident are not 100% jobs safe based on
the errors seen.
2014-08-31 15:52:47 +00:00

46 lines
931 B
Makefile

# Created by: Jyun-Yan You <jyyou@cs.nctu.edu.tw>
# $FreeBSD$
PORTNAME= mysql
PORTVERSION= 1.1.1
CATEGORIES= databases
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/870/
PKGNAMEPREFIX= ocaml-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= OCaml bindings to libmysqlclient
USES= gmake
USE_MYSQL= yes
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAMLFIND_PLIST= yes
USE_OCAML_LDCONFIG= yes
GNU_CONFIGURE= yes
ALL_TARGET= all opt
MAKE_JOBS_UNSAFE= yes
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
PORTDOCS= *
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
ALL_TARGET+= htdoc
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/mysql/html/* ${STAGEDIR}${DOCSDIR}
.endif
post-patch:
${REINPLACE_CMD} 's,OCAMLFIND_INSTFLAGS=,OCAMLFIND_INSTFLAGS=-ldconf ignore ,' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>