aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2012-12-04 17:34:12 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2012-12-04 17:34:12 +0000
commit8e13ecdd36d9060f0fdfd10d2a81185bd6c5124f (patch)
tree4830eccc6ac4ff34da678eafa9ded287be5b8e96
parent17a10f82d0bed471de9fb06677b294bd003075b8 (diff)
downloadports-8e13ecdd36d9060f0fdfd10d2a81185bd6c5124f.tar.gz
ports-8e13ecdd36d9060f0fdfd10d2a81185bd6c5124f.zip
Notes
-rw-r--r--misc/figlet/Makefile3
-rw-r--r--misc/figlet/files/patch-run-tests.sh9
2 files changed, 12 insertions, 0 deletions
diff --git a/misc/figlet/Makefile b/misc/figlet/Makefile
index ac9acaa2be6b..afcce0e6b3f6 100644
--- a/misc/figlet/Makefile
+++ b/misc/figlet/Makefile
@@ -23,6 +23,9 @@ MAKE_ENV= datadir=${DATADIR} prefix=${PREFIX}
MAN6= figlet.6
+post-build:
+ @ cd ${WRKSRC} && ${MAKE} check
+
do-install:
@ ${MKDIR} ${DATADIR}
@ ${INSTALL_PROGRAM} ${WRKSRC}/figlet ${PREFIX}/bin
diff --git a/misc/figlet/files/patch-run-tests.sh b/misc/figlet/files/patch-run-tests.sh
new file mode 100644
index 000000000000..ce16cfa732b0
--- /dev/null
+++ b/misc/figlet/files/patch-run-tests.sh
@@ -0,0 +1,9 @@
+$FreeBSD$
+--- run-tests.sh.orig 2012-06-01 05:51:10.000000000 -0700
++++ run-tests.sh 2012-12-04 09:28:49.000000000 -0800
+@@ -7 +7 @@ TESTDIR=tests
+-OUTPUT=`mktemp`
++OUTPUT=`mktemp -t tmp.XXXXXXXXXX` # Per the Fedora release 8 (Werewolf) man page
+@@ -70 +70 @@ run_test 020 "specify font directory" \
+- "X=`mktemp -d`;cp fonts/script.flf \$X/foo.flf;$cmd -d\$X -ffoo;rm -Rf \$X"
++ "X=`mktemp -d -t tmp.XXXXXXXXXX`;cp fonts/script.flf \$X/foo.flf;$cmd -d\$X -ffoo;rm -Rf \$X"