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:
parent
b9b8896b37
commit
6fb1378c86
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219391
@ -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>
|
||||
|
11
archivers/lzo2/files/patch-util-check.sh
Normal file
11
archivers/lzo2/files/patch-util-check.sh
Normal 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"
|
Loading…
Reference in New Issue
Block a user