1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

The great "Unbreak archivers/lzo2" project - step 1

This patch doesn't unbreak it yet, but it increases the output of
the test in which the port building hangs. I tried to build this
port on the standard places (tb4.droso.net, my ports building jails)
but couldn't reproduce it.

So I'm waiting for this one to go through a run on i386 machines
(http://portsmon.freebsd.org/portoverview.py?category=archivers&portname=lzo2
shows it once happens on i386) to fail and to get a pav or erwin
email about it, which will at least show us where it goes wrong.
This commit is contained in:
Edwin Groothuis 2008-08-29 00:38:26 +00:00
parent b9b8896b37
commit 6fb1378c86
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219391
2 changed files with 14 additions and 9 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= lzo2
PORTVERSION= 2.03
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= archivers devel
MASTER_SITES= http://www.oberhumer.com/opensource/lzo/download/ \
http://fresh.t-systems-sfr.com/unix/src/misc/ \
@ -25,7 +25,7 @@ USE_LDCONFIG= yes
post-build:
@${ECHO_MSG} "===> Running self-tests for ${PKGNAME} (can take a few minutes, without output)"
cd ${WRKSRC} && ${MAKE} test
cd ${WRKSRC} && ${MAKE} test SHELL="${SHELL} -x"
post-install:
.if !defined(NOPORTDOCS)
@ -42,10 +42,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/examples/[a-z]*.[ch] ${EXAMPLESDIR}/
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == i386
BROKEN= does not build
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- ./util/check.sh~ 2008-04-30 14:51:49.000000000 +0200
+++ ./util/check.sh 2008-07-29 11:00:31.000000000 +0200
@@ -19,7 +19,7 @@
TMPFILE="/tmp/lzo_$$.tmp"
rm -f $TMPFILE
-(find $dir/ -type f -print > $TMPFILE) || true
+find $dir/ -type f -print | tee $TMPFILE
## methods=`$LZOTEST -m | sed -n 's/^ *-m\([0-9]*\).*/\1/p'`
## methods="9721 9722 9723 9724 9725 9726 9727 9728 9729"