Date: Tue, 4 Dec 2012 22:08:25 +0000 (UTC) From: Jimmy Olgeni <olgeni@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308282 - in head/www/yaws: . files Message-ID: <201212042208.qB4M8Pas095513@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olgeni Date: Tue Dec 4 22:08:24 2012 New Revision: 308282 URL: http://svnweb.freebsd.org/changeset/ports/308282 Log: Fix handling of source paths containing tilde characters in yaws_compile.erl. Already patched upstream on github as klacke/yaws/25b8e4c. Feature safe: yes Added: head/www/yaws/files/patch-src_yaws__compile.erl (contents, props changed) Modified: head/www/yaws/Makefile Modified: head/www/yaws/Makefile ============================================================================== --- head/www/yaws/Makefile Tue Dec 4 22:02:47 2012 (r308281) +++ head/www/yaws/Makefile Tue Dec 4 22:08:24 2012 (r308282) @@ -7,6 +7,7 @@ PORTNAME= yaws PORTVERSION= 1.95 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://yaws.hyber.org/download/ Added: head/www/yaws/files/patch-src_yaws__compile.erl ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/yaws/files/patch-src_yaws__compile.erl Tue Dec 4 22:08:24 2012 (r308282) @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- src/yaws_compile.erl.orig ++++ src/yaws_compile.erl +@@ -311,7 +311,7 @@ + ?Debug("Writing outout file~s~n", [OutFile]), + {ok, Out} = file:open(OutFile, [write]), + ok = io:format(Out, "-module(\'~s\').~n-export([out/1]).~n~n", [Module]), +- ok = io:format(Out, "-yawsfile('" ++ get(yfile) ++ "').~n",[]), ++ ok = io:format(Out, "-yawsfile(\'~s\').~n",[get(yfile)]), + io:format(Out, "%%~n%% code at line ~w from file ~s~n%%~n", + [Line, C#comp.infile]), + io:format(Out, "-import(yaws_api, [f/2, fl/1, postvar/2, queryvar/2])."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212042208.qB4M8Pas095513>