Added ~x86-fbsd keyword. When building against berkdb, include the versioned
authorRoy Marples <uberlord@gentoo.org>
Wed, 28 Feb 2007 11:01:55 +0000 (11:01 +0000)
committerRoy Marples <uberlord@gentoo.org>
Wed, 28 Feb 2007 11:01:55 +0000 (11:01 +0000)
  db header dir as /usr/include/db.h is always db-1 on FreeBSD.
Package-Manager: portage-2.1.2-r12

mail-filter/bogofilter/ChangeLog
mail-filter/bogofilter/Manifest
mail-filter/bogofilter/bogofilter-1.1.5.ebuild

index f8a3fcd6231bd855f478353460b3ae7ecc986f9c..1abd90143e7f5048fde52a29df946a2845dbd21f 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for mail-filter/bogofilter
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.82 2007/01/15 07:25:49 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.83 2007/02/28 11:01:55 uberlord Exp $
+
+  28 Feb 2007; Roy Marples <uberlord@gentoo.org> bogofilter-1.1.5.ebuild:
+  Added ~x86-fbsd keyword. When building against berkdb, include the versioned
+  db header dir as /usr/include/db.h is always db-1 on FreeBSD.
 
 *bogofilter-1.1.5 (15 Jan 2007)
 
index 18c356ca945876183550ffdbf1a1012c4aec4322..ecaec0cc2ec3f48647c561dedfad7871f4dd12f2 100644 (file)
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 AUX 1.1.1-patch.1107.lexer_v3_l 755 RMD160 2ff3ee1f380d56e45e4f1387ad78bef328c770f2 SHA1 4fc5138a59927df8d75e87563c756abfa26c62ad SHA256 7b6710873a76acba298b02772f37ae0fc9dda08d6ee7b5547a2e6e0a3591c719
 MD5 b8a43b91ab58487dd09e5b0b85617dfc files/1.1.1-patch.1107.lexer_v3_l 755
 RMD160 2ff3ee1f380d56e45e4f1387ad78bef328c770f2 files/1.1.1-patch.1107.lexer_v3_l 755
@@ -16,14 +13,14 @@ EBUILD bogofilter-1.1.1-r1.ebuild 2286 RMD160 750d1ea05cd45de5a1583b2f5440c2bc1e
 MD5 0b5b470f7e3fbd7dc1c62a4ceb3081ce bogofilter-1.1.1-r1.ebuild 2286
 RMD160 750d1ea05cd45de5a1583b2f5440c2bc1ec48142 bogofilter-1.1.1-r1.ebuild 2286
 SHA256 059c8db7e156b784a0e15ed98615ed92d50ab28484a21195b29b3ea0a2e5fec9 bogofilter-1.1.1-r1.ebuild 2286
-EBUILD bogofilter-1.1.5.ebuild 2180 RMD160 8adbe4ff39739a9fac0e4f49028833ceab9c0f1f SHA1 1ec169c005fe2e4061f801a16f55dc67650a67e3 SHA256 dc3f78c876e317a7d89cdcb75a0c22c216e0d15cc37b0d0f3a89fab04f484957
-MD5 0142a5dd2860c288d8dbfbdc216bd368 bogofilter-1.1.5.ebuild 2180
-RMD160 8adbe4ff39739a9fac0e4f49028833ceab9c0f1f bogofilter-1.1.5.ebuild 2180
-SHA256 dc3f78c876e317a7d89cdcb75a0c22c216e0d15cc37b0d0f3a89fab04f484957 bogofilter-1.1.5.ebuild 2180
-MISC ChangeLog 18763 RMD160 6b27301178ab1407ebe24226bff5bbe3882f8a2f SHA1 bb7af8e6cae2153bc5e4329de9c5fa716fbe1e09 SHA256 7dd7d2fabe357f59ada976c35aa73713f5a70ab301042824558eeb43a2eda8dc
-MD5 bc0636f87dd48fb09708af9ebb101e80 ChangeLog 18763
-RMD160 6b27301178ab1407ebe24226bff5bbe3882f8a2f ChangeLog 18763
-SHA256 7dd7d2fabe357f59ada976c35aa73713f5a70ab301042824558eeb43a2eda8dc ChangeLog 18763
+EBUILD bogofilter-1.1.5.ebuild 2372 RMD160 d2349517f8196d9a847dd88b6ae8031d944a77bb SHA1 e917e0c824f9bae1fb29c92ef260d6ffa17fb50a SHA256 465a02604046616ecfe291f0f1fb92bbfb49d46e56f89137349770d0d0984ac7
+MD5 979c3ebafabc299c7606ad258e0f7e2c bogofilter-1.1.5.ebuild 2372
+RMD160 d2349517f8196d9a847dd88b6ae8031d944a77bb bogofilter-1.1.5.ebuild 2372
+SHA256 465a02604046616ecfe291f0f1fb92bbfb49d46e56f89137349770d0d0984ac7 bogofilter-1.1.5.ebuild 2372
+MISC ChangeLog 18985 RMD160 c7019be28e45984b91ff00961a0607e40983a340 SHA1 9ac70116428b1da9a525f924afd135aa7dde0eb5 SHA256 ef87667f3a34d3866ef7af01e0ac906b97d33cdec6b2693e12adccfc9ebcbdc2
+MD5 77638d4a908c98f0e085f92cfa01b874 ChangeLog 18985
+RMD160 c7019be28e45984b91ff00961a0607e40983a340 ChangeLog 18985
+SHA256 ef87667f3a34d3866ef7af01e0ac906b97d33cdec6b2693e12adccfc9ebcbdc2 ChangeLog 18985
 MISC metadata.xml 424 RMD160 7780bbf745ba6b51f837cdc076b1b315ba8d33b9 SHA1 0b17aa0a89b5854ee1850da8e222b95015e1afd9 SHA256 ace8b08d5d5b207b9226c509b6d1f9610da16264d08033e28713df61063563d9
 MD5 48bd0f185b30f8151e8da04a025e0373 metadata.xml 424
 RMD160 7780bbf745ba6b51f837cdc076b1b315ba8d33b9 metadata.xml 424
@@ -37,10 +34,3 @@ SHA256 60de5207a6505e04638e479ab398b93193f89a134d006d538d76fb4f9a383dc0 files/di
 MD5 58061ffdd74195a1f2451b506e916113 files/digest-bogofilter-1.1.5 253
 RMD160 39a2af5b40e0f67eeefdf3e8bcb234796a026f0d files/digest-bogofilter-1.1.5 253
 SHA256 490a853ed94bb9fbdedae9a5cdc5f2510eb4e19a73791757cf27296bd1430291 files/digest-bogofilter-1.1.5 253
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
-
-iD8DBQFFzu9+8bi6rjpTunYRAk4xAKC+I80lntJEqYvvyZrhaOLBmRZ1qQCcDtVH
-+ugLPp5Fd7rlOaFLBwsYcls=
-=B8GN
------END PGP SIGNATURE-----
index 3d5ab16b906990d1c71cf385c9118d00a74080c3..65c280336b17a16ddc91d00cb8bcbd1d2dec6ab5 100644 (file)
@@ -1,6 +1,8 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/bogofilter-1.1.5.ebuild,v 1.2 2007/02/11 10:26:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/bogofilter-1.1.5.ebuild,v 1.3 2007/02/28 11:01:55 uberlord Exp $
+
+inherit db-use flag-o-matic
 
 DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for speed."
 HOMEPAGE="http://bogofilter.sourceforge.net/"
@@ -8,7 +10,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
 IUSE="gsl berkdb sqlite"
 
 DEPEND="virtual/libiconv
@@ -20,18 +22,25 @@ DEPEND="virtual/libiconv
 #      app-arch/pax" # only needed for bf_tar
 
 src_compile() {
-       local myconf=""
+       local myconf="" berkdb=false
        myconf="$(use_with !gsl included-gsl)"
 
        # determine backend: berkdb *is* default
        if use berkdb && use sqlite ; then
                elog "Both useflags berkdb and sqlite are in USE:"
                elog "Using berkdb as database backend."
+               berkdb=true
        elif use sqlite ; then
                myconf="${myconf} --with-database=sqlite"
        elif ! use berkdb ; then
                elog "Neither berkdb nor sqlite are in USE:"
                elog "Using berkdb as database backend."
+               berkdb=true
+       fi
+
+       # Include the right berkdb headers for FreeBSD
+       if ${berkdb} ; then
+               append-flags "-I$(db_includedir)"
        fi
 
        econf ${myconf} || die "configure failed"