freebsd-ports/textproc/srilm/files/patch-go.run-test
Dmitry Sivachenko 2438ce3ae0 Stagify;
Use new LIB_DEPENDS format;
USE_GMAKE --> USES=gmake;
update to 1.5.12 (the only fetchable version in 1.5.x branch).
2014-03-28 08:13:36 +00:00

21 lines
582 B
Text

--- sbin/go.run-test.orig 2009-12-02 23:15:49.000000000 +0300
+++ sbin/go.run-test 2014-03-28 11:45:04.000000000 +0400
@@ -6,6 +6,9 @@
# $Header: /home/srilm/devel/lattice/test/../../sbin/RCS/go.run-test,v 1.13 2009/12/02 20:15:39 stolcke Exp $
#
+PATH=$PATH:$WRKSRC/bin:$WRKSRC/bin/freebsd
+export PATH
+
dir=$1
if [ -z "$MACHINE_TYPE" ]; then
@@ -16,7 +19,7 @@
#diff=cmp
# ignore different whitespace and EOL conventions
-diff="gawk -f $SRILM/sbin/compare-outputs 2>/dev/null"
+diff="awk -f $SRILM/sbin/compare-outputs 2>/dev/null"
test -d output || mkdir output