ports/72699: [PATCH] mail/postgrey: fetching doesn't depend on BDB version

Ion-Mihai IOnut Tetcu itetcu at people.tecnik93.com
Thu Oct 14 17:40:04 UTC 2004


>Number:         72699
>Category:       ports
>Synopsis:       [PATCH] mail/postgrey: fetching doesn't depend on BDB version
>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:   Thu Oct 14 17:40:02 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 5.3-BETA7 i386
>Organization:
Tecnik'93 
>Environment:


N/A



>Description:


There is no reason for this port to fail to fetch if databases/p5-BerkeleyDB is not built with BDB 41 or later.

It should fail later in the make process, lets say before extract.


>How-To-Repeat:


cd /usr/ports/mail/postgrey && make fetch


>Fix:


--- Makefile.diff begins here ---
--- Makefile.orig	Thu Oct 14 20:04:08 2004
+++ Makefile	Thu Oct 14 20:23:09 2004
@@ -31,7 +31,7 @@
 PKGINSTALL=	${WRKDIR}/pkg-install
 PKGDEINSTALL=	${WRKDIR}/pkg-deinstall
 
-pre-everything::
+pre-extract:
 .if !defined(SKIP_BDB_CHECK) && !defined(PACKAGE_BUILDING)
 .if !defined(WITH_BDB_VER)
 	@${ECHO} "This port requires databases/p5-BerkeleyDB to be built with"
--- Makefile.diff ends here ---



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



More information about the freebsd-ports-bugs mailing list