From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 16 20:10:25 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4C4F16A4CE for ; Wed, 16 Jun 2004 20:10:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA28E43D53 for ; Wed, 16 Jun 2004 20:10:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i5GKAH6L079536 for ; Wed, 16 Jun 2004 20:10:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5GKAH6i079535; Wed, 16 Jun 2004 20:10:17 GMT (envelope-from gnats) Resent-Date: Wed, 16 Jun 2004 20:10:17 GMT Resent-Message-Id: <200406162010.i5GKAH6i079535@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthias Andree Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6773016A4CE; Wed, 16 Jun 2004 20:09:12 +0000 (GMT) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.e-technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0341A43D54; Wed, 16 Jun 2004 20:09:12 +0000 (GMT) (envelope-from matthias.andree@gmx.de) Received: from m2a2.dyndns.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1])8B54330C8C; Wed, 16 Jun 2004 22:09:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 35C37BF017; Wed, 16 Jun 2004 22:09:01 +0200 (CEST) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12537-03-4; Wed, 16 Jun 2004 22:08:59 +0200 (CEST) Received: from libertas.emma.line.org (libertas.emma.line.org [192.168.0.2]) by merlin.emma.line.org (Postfix) with ESMTP id CBC11BEFC9; Wed, 16 Jun 2004 22:08:59 +0200 (CEST) Received: from emma by libertas.emma.line.org with local (Exim 4.34 (FreeBSD)) id 1BagiR-0006CV-D8; Wed, 16 Jun 2004 22:08:59 +0200 Message-Id: Date: Wed, 16 Jun 2004 22:08:59 +0200 From: Matthias Andree Sender: Matthias Andree To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Yar Tikhiy Subject: ports/68021: [MAINTAINER] mail/bogofilter: implement WITHOUT_GSL X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 20:10:25 -0000 >Number: 68021 >Category: ports >Synopsis: [MAINTAINER] mail/bogofilter: implement WITHOUT_GSL >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jun 16 20:10:17 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 4.10-RELEASE i386 >Organization: >Environment: System: FreeBSD libertas.emma.line.org 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Mon May 31 15:21:30 CEST 2004 >Description: Implement WITHOUT_GSL so that bogofilter can statically link against the GSL component it needs, to avoid the bulky libtool15 and gsl requirements. Suggested by Yar Tikhiy (Cc'd). PORTREVISION bump is NOT necessary in so far as the files, dependencies and pkg-plist are unchanged with the default port options. Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- bogofilter-0.17.5_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/mail/bogofilter/Makefile /root/ports/mail/bogofilter/Makefile --- /usr/ports/mail/bogofilter/Makefile Mon May 31 12:03:56 2004 +++ /root/ports/mail/bogofilter/Makefile Wed Jun 16 22:03:23 2004 @@ -16,7 +16,9 @@ COMMENT= "Fast, teachable, learning spam detector" LIB_DEPENDS?= db-4.2:${PORTSDIR}/databases/db42 +.if !defined(WITHOUT_GSL) LIB_DEPENDS+= gsl.5:${PORTSDIR}/math/gsl +.endif .if !defined(WITHOUT_BASH) RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 .endif @@ -29,6 +31,9 @@ GNU_CONFIGURE= yes PATCH_STRIP= -p1 CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc +.if defined(WITHOUT_GSL) +CONFIGURE_ARGS+= --with-included-gsl +.endif CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include/db42" \ LDFLAGS="-L${LOCALBASE}/lib" LIBS="-ldb-4.2" CONFIGURE_ENV+= PERL="${PERL}" @@ -53,13 +58,21 @@ PORTDOCS= * .endif -.if !defined(WITHOUT_BASH) pre-everything:: - @${ECHO_CMD} "----------------------------------------------------------------------------" + @${ECHO_CMD} "" +.if !defined(WITHOUT_BASH) @${ECHO_CMD} "To install without bash dependency, you can use: make -DWITHOUT_BASH install" @${ECHO_CMD} "Note that installing without bash dependency will mean that some of the" @${ECHO_CMD} "${DOCSDIR}/contrib scripts will not be installed." - @${ECHO_CMD} "----------------------------------------------------------------------------" + @${ECHO_CMD} "" +.endif +.if !defined(WITHOUT_GSL) + @${ECHO_CMD} "To have bogofilter link against its shipped GSL 1.4 statically," + @${ECHO_CMD} "you can use: make -DWITHOUT_GSL && make -DWITHOUT_GSL install" +.if !defined(WITHOUT_BASH) + @${ECHO_CMD} "or: make -DWITHOUT_GSL && make -DWITHOUT_GSL -DWITHOUT_BASH install" +.endif + @${ECHO_CMD} "" .endif post-build:: --- bogofilter-0.17.5_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: