diff options
author | Oliver Eikemeier <eik@FreeBSD.org> | 2004-06-22 22:33:38 +0000 |
---|---|---|
committer | Oliver Eikemeier <eik@FreeBSD.org> | 2004-06-22 22:33:38 +0000 |
commit | a1cb510643f1b6c79a6e293d7005f9664acfb63d (patch) | |
tree | 5a57d1e83600fcb1b1a64ff6f57a5a3df36415a6 /ports-mgmt/portsman | |
parent | Add note: openslp needs to be enabled in /etc/rc.conf. (diff) |
Update of port which supports FreeBSD-5 alike INDEX-5 file parsing
PR: 68212
Submitted by: Anselm Garbe <anselmg@t-online.de> (maintainer)
Notes
Notes:
svn path=/head/; revision=112015
Diffstat (limited to 'ports-mgmt/portsman')
-rw-r--r-- | ports-mgmt/portsman/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portsman/files/patch-freebsd5 | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/ports-mgmt/portsman/Makefile b/ports-mgmt/portsman/Makefile index b35e802acdb8..6bf9863f38c5 100644 --- a/ports-mgmt/portsman/Makefile +++ b/ports-mgmt/portsman/Makefile @@ -7,7 +7,7 @@ PORTNAME= portsman PORTVERSION= 0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://download.berlios.de/portsman/ # temporary diff --git a/ports-mgmt/portsman/files/patch-freebsd5 b/ports-mgmt/portsman/files/patch-freebsd5 new file mode 100644 index 000000000000..8a2e35e33ffc --- /dev/null +++ b/ports-mgmt/portsman/files/patch-freebsd5 @@ -0,0 +1,20 @@ +--- src/consts.h.orig Wed Jan 29 19:03:44 2003 ++++ src/consts.h Tue Jun 22 12:46:55 2004 +@@ -26,12 +26,17 @@ + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + */ ++#include <osreldate.h> + #define _VERSION "portsman 0.2" + #define MAX_PATH 256 + #define MAX_TOKEN 256 + #define MAX_COLS 80 + #define INSTALLED_PKG_DIR "/var/db/pkg" ++#if __FreeBSD_version > 500000 ++#define INDEX_FILE "/usr/ports/INDEX-5" ++#else + #define INDEX_FILE "/usr/ports/INDEX" ++#endif + #define PORTS_DIR "/usr/ports" + #define CONFIG_FILE ".portsmanrc" + #define MK_FILE "Makefile" |