ports/126518: Unbroke archivers/lzo2 on i386
Dima Panov
fluffy at fluffy.khv.ru
Thu Aug 14 00:00:08 UTC 2008
>Number: 126518
>Category: ports
>Synopsis: Unbroke archivers/lzo2 on i386
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 14 00:00:07 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Dima Panov
>Release: FreeBSD 8.0-800042-CURRENT i386
>Organization:
>Environment:
System: FreeBSD 8.0-800042-CURRENT #0: Wed Aug 13 09:33:26 VLAST 2008
root at Fluffy.Khv.RU:/usr/obj/usr/src/sys/Spot
>Description:
Yesterday archivers/lzo2 was make BROKEN on i386, which is huge mistake - it is not broken, it loop in optional tests.
Main library is fine, and anything built aganist it run as well.
>How-To-Repeat:
>Fix:
--- archivers::lzo2.diff begins here ---
Index: archivers/lzo2/Makefile
===================================================================
RCS file: /home/ncvs/ports/archivers/lzo2/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- archivers/lzo2/Makefile 13 Aug 2008 14:59:41 -0000 1.43
+++ archivers/lzo2/Makefile 13 Aug 2008 23:47:49 -0000
@@ -24,9 +24,12 @@
CONFIGURE_ARGS= --enable-shared
USE_LDCONFIG= yes
+
+.if defined(ARCH) && ${ARCH} != "i386"
post-build:
@${ECHO_MSG} "===> Running self-tests for ${PKGNAME} (can take a few minutes, without output)"
cd ${WRKSRC} && ${MAKE} test
+.endif
post-install:
.if !defined(NOPORTDOCS)
@@ -45,8 +48,5 @@
.include <bsd.port.pre.mk>
-.if ${ARCH} == i386
-BROKEN= does not build
-.endif
.include <bsd.port.post.mk>
--- archivers::lzo2.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list