Date: Wed, 07 Apr 2004 19:53:44 +0300 From: Andrey Slusar <vasallia@ukr.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: matthias.andree@gmx.de Subject: ports/65297: [PATCH] mail/bogofilter: some ports use WITH_BDB_VER=<ver>,bogofilter use WITH_DB_VER Message-ID: <E1BBGJ6-000MWZ-R9@santinel.home.ua> Resent-Message-ID: <200404071740.i37HeKjj021486@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65297 >Category: ports >Synopsis: [PATCH] mail/bogofilter: some ports use WITH_BDB_VER=<ver>,bogofilter use WITH_DB_VER >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: Wed Apr 07 10:40:19 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Andrey Slusar >Release: FreeBSD 5.2-CURRENT i386 >Organization: Santinel >Environment: System: FreeBSD santinel.home.ua 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Sat Apr 3 01:27:44 EEST 2004 root@santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386 >Description: Mainteiner CC-ed. Some ports eg cyrus-imapd, exim use WITH_BDB_VER=<version>, mail/bogofilter use WITH_DB_VER. It's not correct. >How-To-Repeat: N/A >Fix: --- bogofilter.diff begins here --- diff -ruN bogofilter.old/Makefile bogofilter/Makefile --- bogofilter.old/Makefile Wed Apr 7 19:24:22 2004 +++ bogofilter/Makefile Wed Apr 7 19:39:56 2004 @@ -16,12 +16,12 @@ # There is a sibling port, bogofilter-tdb, which presets different # values for some of our variables -WITH_DB_VER?= 4 -.if ${WITH_DB_VER} == 42 +WITH_BDB_VER?= 4 +.if ${WITH_BDB_VER} == 42 LIB_DEPENDS?= db-4.2:${PORTSDIR}/databases/db42 libs= -ldb-4.2 .else -WITH_DB_VER= 4 +WITH_BDB_VER= 4 LIB_DEPENDS?= db4.0:${PORTSDIR}/databases/db4 libs= -ldb4 .endif @@ -36,7 +36,7 @@ GNU_CONFIGURE= yes PATCH_STRIP= -p1 CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc -CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include/db${WITH_DB_VER}" \ +CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include/db${WITH_BDB_VER}" \ LDFLAGS="-L${LOCALBASE}/lib" LIBS="${libs}" CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} INSTALL_TARGET= install-strip prefix=${PREFIX} @@ -55,10 +55,10 @@ ${WRKSRC}/contrib/scramble \ ${WRKSRC}/contrib/trainbogo.sh -.if !defined(PKGNAMESUFFIX) && ${WITH_DB_VER} != 42 +.if !defined(PKGNAMESUFFIX) && ${WITH_BDB_VER} != 42 pre-everything:: @${ECHO} "" - @${ECHO} "Use -DWITH_DB_VER=42 to link against db42 instead of the default db4" + @${ECHO} "Use -DWITH_BDB_VER=42 to link against db42 instead of the default db4" @${ECHO} "" .endif --- bogofilter.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BBGJ6-000MWZ-R9>