ports/64037: [PATCH] databases/qdbm: always run self-test, minor other fix

Matthias Andree matthias.andree at gmx.de
Wed Mar 10 11:40:22 UTC 2004


>Number:         64037
>Category:       ports
>Synopsis:       [PATCH] databases/qdbm: always run self-test, minor other fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 10 03:40:21 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD libertas.emma.line.org 4.9-STABLE FreeBSD 4.9-STABLE #89: Mon Mar  8 00:29:59 CET
>Description:
- Moved the self-test from test to post-build so it is always run.
  Rationale: A self-check problem was reported against bogofilter-qdbm on
  alpha4 by Kris Kennaway, and nobody knows whether it's QDBM's fault or
  bogofilter's. QDBM-1.8.2's "make check" fails on SPARC64 Solaris8 with a
  segmentation fault in the garbage collector.
- Switch from ; to && in order to not hide cd errors or run the make command in
  the wrong directory.

Port maintainer (fuyuki at nigredo.org) is cc'd.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- qdbm-1.8.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/qdbm/Makefile /usr/home/emma/ports/databases/Makefile
--- /usr/ports/databases/qdbm/Makefile	Mon Mar  8 00:24:10 2004
+++ /usr/home/emma/ports/databases/Makefile	Wed Mar 10 12:28:47 2004
@@ -29,12 +29,10 @@
 		odeum.3 odopen.3 villa.3 vlopen.3 villa.3 vista.3
 
 post-build:
-	cd ${WRKSRC}/lab; ${MAKE} CC="${CC}" CFLAGS="${CFLAGS}" fmtcnv031127
+	cd ${WRKSRC}/lab && ${MAKE} CC="${CC}" CFLAGS="${CFLAGS}" fmtcnv031127
+	cd ${WRKSRC} && ${MAKE} check
 
 post-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/lab/fmtcnv031127 ${PREFIX}/bin
-
-test:
-	cd ${WRKSRC}; ${MAKE} check
 
 .include <bsd.port.mk>
--- qdbm-1.8.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list