From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 11 22:30:07 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3813B1065677 for ; Wed, 11 Jun 2008 22:30:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DAE8F8FC21 for ; Wed, 11 Jun 2008 22:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5BMU6Wk022483 for ; Wed, 11 Jun 2008 22:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5BMU6Eq022482; Wed, 11 Jun 2008 22:30:06 GMT (envelope-from gnats) Date: Wed, 11 Jun 2008 22:30:06 GMT Message-Id: <200806112230.m5BMU6Eq022482@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Timothy Bourke Cc: Subject: Re: ports/124061: [patch]: lang/mlton (new features) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Timothy Bourke List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2008 22:30:07 -0000 The following reply was made to PR ports/124061; it has been noted by GNATS. From: Timothy Bourke To: bug-followup@FreeBSD.org Cc: jesper.louis.andersen@gmail.com Subject: Re: ports/124061: [patch]: lang/mlton (new features) Date: Wed, 11 Jun 2008 20:47:00 +1000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline After applying the previous patch, please remove the files/patch-runtime-cenv.h file. The port maintainer noticed that the path is too rigid, and that it would be better to edit runtime/Makefile adding CFLAGS+= -I${LOCALBASE}/include But, I found that compilation succeeds anyway without the patch file. BTW, to test cross compilation, create a file test.sml: val _ = TextIO.print("Hello Windows\n"); And run: mlton -target mingw32 -cc mingw32-gcc test.sml (ignore the warnings: mingw32-gcc: unrecognized option '-b') Then: file test should give: test: MS-DOS executable PE for MS Windows (console) Intel 80386 32-bit which will run in wine: wine ./test Please let me know if any extra information could encourage committal! Thank you. --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFIT60ktKVK1sFb0ecRAqRZAJ9fuwPYdPN9fko6Cimzw/iJ6iQYNwCfb3vL A9ax3R0nAI6JcWrU97uLh4A= =T7YW -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--