svn commit: r308282 - in head/www/yaws: . files
Jimmy Olgeni
olgeni at FreeBSD.org
Tue Dec 4 22:08:25 UTC 2012
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])."
More information about the svn-ports-head
mailing list