diff options
author | cy <cy@FreeBSD.org> | 2008-03-06 08:32:25 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2008-03-06 08:32:25 +0800 |
commit | 14c9212d5813a90fd16be0a9e95f4be486ae4d88 (patch) | |
tree | c9a6a0695f45212ba8a91c64d974d3b7307845ba /ports-mgmt/bpm | |
parent | f8cfb3696388cf32d70a970864f208d6aca4b44a (diff) | |
download | freebsd-ports-gnome-14c9212d5813a90fd16be0a9e95f4be486ae4d88.tar.gz freebsd-ports-gnome-14c9212d5813a90fd16be0a9e95f4be486ae4d88.tar.zst freebsd-ports-gnome-14c9212d5813a90fd16be0a9e95f4be486ae4d88.zip |
Add support for FreeBSD 7.0-STABLE and 8.0-CURRENT.
Approved by: Maintainer: Seth Kingsley <sethk@meowfishies.com>
Diffstat (limited to 'ports-mgmt/bpm')
-rw-r--r-- | ports-mgmt/bpm/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/bpm/files/patch-src::refresh.c | 18 |
2 files changed, 12 insertions, 8 deletions
diff --git a/ports-mgmt/bpm/Makefile b/ports-mgmt/bpm/Makefile index 74b86dd39212..241fded8f21e 100644 --- a/ports-mgmt/bpm/Makefile +++ b/ports-mgmt/bpm/Makefile @@ -7,7 +7,7 @@ PORTNAME= bpm PORTVERSION= 0.4.1b -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= ports-mgmt MASTER_SITES= http://www.meowfishies.com/code/bpm/ EXTRACT_SUFX= .tgz diff --git a/ports-mgmt/bpm/files/patch-src::refresh.c b/ports-mgmt/bpm/files/patch-src::refresh.c index 619e8f024972..09bebde62c6f 100644 --- a/ports-mgmt/bpm/files/patch-src::refresh.c +++ b/ports-mgmt/bpm/files/patch-src::refresh.c @@ -1,10 +1,14 @@ ---- src/refresh.c.orig Mon Aug 23 19:40:08 2004 -+++ src/refresh.c Thu Nov 24 15:11:48 2005 -@@ -62,8 +62,14 @@ +--- src/refresh.c.orig 2004-08-23 19:40:08.000000000 -0700 ++++ src/refresh.c 2008-03-05 14:30:58.000000000 -0800 +@@ -62,8 +62,18 @@ __RCSID("$Id: refresh.c,v 1.32 2004/08/24 02:40:08 sethk Exp $"); /* XXX use libinstall/lib.h */ -+#if __FreeBSD_version >= 600000 ++#if __FreeBSD_version >= 800000 ++#define INDEX_FN PORTS_BASE "/INDEX-8" ++#elif __FreeBSD_version >= 700000 ++#define INDEX_FN PORTS_BASE "/INDEX-7" ++#elif __FreeBSD_version >= 600000 +#define INDEX_FN PORTS_BASE "/INDEX-6" +#elif __FreeBSD_version >= 500036 +#define INDEX_FN PORTS_BASE "/INDEX-5" @@ -16,7 +20,7 @@ #define DB_DIR "/var/db/pkg" #define ITER_BYTES (128 * 1024) #define ITER_ENTS 32 -@@ -183,10 +189,12 @@ +@@ -183,10 +193,12 @@ if (*sp == '|') ++i; @@ -31,7 +35,7 @@ #endif /* DEBUG */ return FALSE; } -@@ -195,12 +203,9 @@ +@@ -195,12 +207,9 @@ for (i = 0; i < PFIELD_NFIELD; ++i) { @@ -47,7 +51,7 @@ switch (i) { -@@ -320,7 +325,6 @@ +@@ -320,7 +329,6 @@ if (_refresh_index_parse(ln, portdp, rdp) != TRUE) { |