From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 23 06:00:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3DF59E55 for ; Tue, 23 Jul 2013 06:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 08EB02892 for ; Tue, 23 Jul 2013 06:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6N600K3094020 for ; Tue, 23 Jul 2013 06:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6N600WD094008; Tue, 23 Jul 2013 06:00:00 GMT (envelope-from gnats) Resent-Date: Tue, 23 Jul 2013 06:00:00 GMT Resent-Message-Id: <201307230600.r6N600WD094008@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jyun-Yan You Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D2036C56 for ; Tue, 23 Jul 2013 05:53:20 +0000 (UTC) (envelope-from jyyou@cs.nctu.edu.tw) Received: from csmailer.cs.nctu.edu.tw (csmailer.cs.nctu.edu.tw [140.113.235.130]) by mx1.freebsd.org (Postfix) with ESMTP id 6CAEE283D for ; Tue, 23 Jul 2013 05:53:19 +0000 (UTC) Received: from csmailer.cs.nctu.edu.tw (localhost [127.0.0.1]) by csmailer.cs.nctu.edu.tw (Postfix) with ESMTP id 69FBD6B3; Tue, 23 Jul 2013 13:44:57 +0800 (CST) Received: from alumni.cs.nctu.edu.tw (alumni.cs.nctu.edu.tw [140.113.235.116]) by csmailer.cs.nctu.edu.tw (Postfix) with ESMTP id 46DD06B2; Tue, 23 Jul 2013 13:44:57 +0800 (CST) Received: (from jyyou@localhost) by alumni.cs.nctu.edu.tw (8.14.5/8.14.5/Submit) id r6N5iv6P098227; Tue, 23 Jul 2013 13:44:57 +0800 (CST) (envelope-from jyyou) Message-Id: <201307230544.r6N5iv6P098227@alumni.cs.nctu.edu.tw> Date: Tue, 23 Jul 2013 13:44:57 +0800 (CST) From: Jyun-Yan You To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/180753: [PATCH] devel/ocaml-opam: fix build error of util.ml Cc: joris.gio@gmail.com X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jul 2013 06:00:01 -0000 >Number: 180753 >Category: ports >Synopsis: [PATCH] devel/ocaml-opam: fix build error of util.ml >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 23 06:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Jyun-Yan You >Release: FreeBSD 9.1-RELEASE-p4 amd64 >Organization: >Environment: System: FreeBSD alumni.cs.nctu.edu.tw 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 >Description: This patch fixes the build error of util.ml when we use system-optimized ocaml binaries by default. Port maintainer (joris.gio@gmail.com) is cc'd. Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- ocaml-opam-1.0.0.patch begins here --- diff -ruN /usr/ports/devel/ocaml-opam/Makefile ./Makefile --- /usr/ports/devel/ocaml-opam/Makefile 2013-07-02 04:07:20.000000000 +0800 +++ ./Makefile 2013-07-23 13:41:12.961006000 +0800 @@ -41,4 +41,13 @@ opam.1 \ opam-reinstall.1 -.include +.include + +.if exists(${LOCALBASE}/bin/camlp4o.byte) +post-patch: + ${REINPLACE_CMD} \ + -e 's/camlp4o/camlp4o.byte/' \ + ${WRKSRC}/src_ext/depends.ocp.boot +.endif + +.include --- ocaml-opam-1.0.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: