mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Adds self-test as recommended by INSTALL.
Excessively long self-test runs in lzo2 (a different port) were figured (thanks, naddy@) to be caused by "J" in /etc/malloc.conf, so we set MALLOC_OPTIONS=jz to avoid that. PR: 130153 Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
This commit is contained in:
parent
d696906294
commit
dc4fbf696e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225414
@ -17,10 +17,15 @@ MAINTAINER= matthias.andree@gmx.de
|
||||
COMMENT= Portable speedy, lossless data compression library
|
||||
|
||||
USE_AUTOTOOLS= libtool:15
|
||||
GNU_CONFIGURE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-shared
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
post-build:
|
||||
@${ECHO_MSG} "===> Running self-tests for ${PKGNAME} (can take a few minutes)"
|
||||
@# override MALLOC_OPTIONS, else tests take excessively long
|
||||
cd ${WRKSRC} && ${SETENV} MALLOC_OPTIONS=jz ${MAKE} check test
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
|
11
archivers/lzo/files/patch-util-check.sh
Normal file
11
archivers/lzo/files/patch-util-check.sh
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./util/check.sh~ 2009-01-04 10:28:23.000000000 +0100
|
||||
+++ ./util/check.sh 2009-01-04 10:33:34.000000000 +0100
|
||||
@@ -13,7 +13,7 @@
|
||||
LTEST="ltest"
|
||||
test -x ./ltest/ltest && LTEST="./ltest/ltest"
|
||||
test -x ./ltest.exe && LTEST="./ltest.exe"
|
||||
-LFLAGS="-q -n2"
|
||||
+LFLAGS="-Q -n2"
|
||||
|
||||
dir="${*-.}"
|
||||
|
Loading…
Reference in New Issue
Block a user