yasql try to use perl err() function and fail to compile/run. Also give some warning about deprecated functions. Fix: Change err() with die(), replace \1 with $1, add some missing \ Also bumped PORTREVISION to 1 (full patch attached) How-To-Repeat: # cd /usr/ports/databases/yasql && make install clean # yasql syntax error at /usr/local/bin/yasql line 177, near "err" syntax error at /usr/local/bin/yasql line 180, near "}" Execution of /usr/local/bin/yasql aborted due to compilation errors. After substitued all err() with die() yasql start but if you use perl -w `which yasql` you can also get this warnings: Use of "do" to call subroutines is deprecated at /tmp/ya line 2407. Use of "do" to call subroutines is deprecated at /tmp/ya line 2410. \1 better written as $1 at /tmp/ya line 2876. \1 better written as $1 at /tmp/ya line 2890. Unrecognized escape \G passed through at /tmp/ya line 3565. Unrecognized escape \S passed through at /tmp/ya line 3565. First four lines are self-explained, last two have a missing "\" in the help section (to correctly show as "\G" asking for help).
Responsible Changed From-To: freebsd-ports-bugs->thierry Over to maintainer (via the GNATS Auto Assign Tool)
thierry 2010-11-21 22:37:58 UTC FreeBSD ports repository Modified files: databases/yasql Makefile distinfo Added files: databases/yasql/files patch-yasql.in Log: Fix non-existing function call and deprecated functions. Since I'm there, define the license, and release the maintainership. PR: ports/152399 Submitted by: Riccardo Torrini <riccardo (at) torrini.org> Revision Changes Path 1.5 +6 -2 ports/databases/yasql/Makefile 1.4 +0 -1 ports/databases/yasql/distinfo 1.1 +114 -0 ports/databases/yasql/files/patch-yasql.in (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks!