Date: Tue, 08 Apr 2014 20:02:34 -0700 From: Timothy Beyer <beyert@cs.ucr.edu> To: FreeBSD GNATS Submit <FreeBSD-gnats-submit@FreeBSD.org> Cc: Timothy Beyer <beyert@cs.ucr.edu> Subject: ports/188387: fix build: textproc/htmlc Message-ID: <87a9bvtdbp.wl@fastmail.fm> Resent-Message-ID: <201404090310.s393A0uT011951@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 188387 >Category: ports >Synopsis: fix build: textproc/htmlc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Apr 09 03:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Timothy Beyer >Release: FreeBSD 10.0-RELEASE amd64 >Organization: no organization >Environment: System: FreeBSD hypercube.aeonnet 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/us r/obj/usr/src/sys/GENERIC amd64 >Description: - turn off warnings as errors flag (-warn-error A) (extraneous variables), which fixes the build for newer versions of ocamlc. - Add license file support (license is a custom Inria license) >How-To-Repeat: Apply patch and build port >Fix: The included patch --- htmlc.diff begins here --- diff -urN htmlc.orig/Makefile htmlc/Makefile --- htmlc.orig/Makefile 2014-01-28 07:54:23.000000000 -0800 +++ htmlc/Makefile 2014-04-08 19:52:29.000000000 -0700 @@ -3,6 +3,7 @@ PORTNAME= htmlc PORTVERSION= 2.21.0 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://htmlc.inria.fr/ \ http://caml.inria.fr/distrib/bazar-ocaml/htmlc/ @@ -13,6 +14,8 @@ BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml +LICENSE_FILE= LICENSE + USES= gmake PLIST_FILES= bin/htmlc bin/htmlc.byt share/htmlc/env @@ -29,6 +32,7 @@ ${RM} -f ${WRKSRC}/doc/Makefile ${TOUCH} ${WRKSRC}/doc/Makefile ${ECHO} "all:" > ${WRKSRC}/doc/Makefile + ${REINPLACE_CMD} 's|-warn-error A||g' ${WRKSRC}/config/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/compiler/htmlc ${STAGEDIR}${PREFIX}/bin --- htmlc.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87a9bvtdbp.wl>