ports/51049: Update port: devel/libmba to 0.5.1
KATO Tsuguru
tkato at prontomail.com
Wed Apr 16 18:40:31 UTC 2003
>Number: 51049
>Category: ports
>Synopsis: Update port: devel/libmba to 0.5.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 16 11:40:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.5.1
New file:
files/patch-src::shellout.c
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/devel/libmba/Makefile devel/libmba/Makefile
--- /usr/ports/devel/libmba/Makefile Sat Apr 12 22:41:19 2003
+++ devel/libmba/Makefile Tue Apr 15 12:51:19 2003
@@ -7,9 +7,9 @@
#
PORTNAME= libmba
-PORTVERSION= 0.4.6
+PORTVERSION= 0.5.1
CATEGORIES= devel
-MASTER_SITES= http://www.eskimo.com/~miallen/libmba/dl/
+MASTER_SITES= http://www.ioplex.com/~miallen/libmba/dl/
MAINTAINER= ports at FreeBSD.org
COMMENT= A collection of C modules potentially useful to any project
@@ -24,7 +24,7 @@
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
MAN3= cfg.3m domnode.3m mbs.3m msgno.3m hashmap.3m hexdump.3m \
- linkedlist.3m stack.3m
+ linkedlist.3m pool.3m shellout.3m stack.3m varray.3m
MANCOMPRESSED= yes
.include <bsd.port.mk>
diff -urN /usr/ports/devel/libmba/distinfo devel/libmba/distinfo
--- /usr/ports/devel/libmba/distinfo Mon Jan 6 15:56:29 2003
+++ devel/libmba/distinfo Tue Apr 15 12:31:20 2003
@@ -1 +1 @@
-MD5 (libmba-0.4.6.tar.gz) = cff59d370cb12616fc3203d63b0c8bbb
+MD5 (libmba-0.5.1.tar.gz) = 1f635afda3dd02a9249ca51aff74d6f5
diff -urN /usr/ports/devel/libmba/files/patch-Makefile devel/libmba/files/patch-Makefile
--- /usr/ports/devel/libmba/files/patch-Makefile Mon Jan 6 15:56:29 2003
+++ devel/libmba/files/patch-Makefile Tue Apr 15 12:37:43 2003
@@ -1,5 +1,5 @@
---- Makefile.orig Thu Nov 21 06:09:41 2002
-+++ Makefile Sat Nov 23 17:40:57 2002
+--- Makefile.orig Wed Apr 2 09:05:34 2003
++++ Makefile Tue Apr 15 12:37:37 2003
@@ -1,17 +1,17 @@
-prefix = /usr/local
+prefix = ${PREFIX}
@@ -9,8 +9,8 @@
-CC = gcc
+CC ?= gcc
LIBNAME = mba
--MAJVERSION = 0.4
--MINVERSION = 0.4.6
+-MAJVERSION = 0.5
+-MINVERSION = 0.5.1
+MAJVERSION = ${SHLIB_MAJOR}
+MINVERSION = ${SHLIB_MAJOR}
ARNAME = lib$(LIBNAME).a
@@ -21,14 +21,14 @@
-CFLAGS = -Wall -W -DMSGNO -I$(includedir) -L$(libdir) $(RPM_OPT_FLAGS)
+CFLAGS += -DMSGNO -I${LOCALBASE}/include
#CFLAGS = -Wall -W -DMSGNO -I$(includedir) -L$(libdir) $(RPM_OPT_FLAGS) -ansi -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wtraditional -Wconversion -Waggregate-return -Wno-parentheses
- OBJS = src/stack.o src/linkedlist.o src/hashmap.o src/profile.o src/hexdump.o src/msgno.o src/domnode.o src/mbs.o src/cfg.o
- HDRS = src/mba/msgno.h src/mba/stack.h src/mba/linkedlist.h src/mba/hashmap.h src/mba/hexdump.h src/mba/domnode.h src/mba/profile.h src/mba/mbs.h src/mba/cfg.h
+ OBJS = src/stack.o src/linkedlist.o src/hashmap.o src/profile.o src/hexdump.o src/msgno.o src/domnode.o src/mbs.o src/cfg.o src/pool.o src/varray.o src/shellout.o
+ HDRS = src/mba/msgno.h src/mba/stack.h src/mba/linkedlist.h src/mba/hashmap.h src/mba/hexdump.h src/mba/domnode.h src/mba/profile.h src/mba/mbs.h src/mba/cfg.h src/mba/pool.h src/mba/varray.h src/mba/shellout.h
@@ -20,7 +20,7 @@
all: $(ARNAME)($(OBJS)) $(SONAME)
$(SONAME): $(ARNAME)($(OBJS)) $(OBJS)
-- $(CC) -shared $(OBJS) -L$(libdir) -lc -lexpat -Wl,-h,$(SOVERSION) -o $(SONAME)
-+ $(CC) -shared $(OBJS) -L${LOCALBASE}/lib -lexpat -Wl,-h,$(SOVERSION) -o $(SONAME)
+- $(CC) -shared $(OBJS) -L$(libdir) -lc -lexpat -lutil -Wl,-h,$(SOVERSION) -o $(SONAME)
++ $(CC) -shared $(OBJS) -L${LOCALBASE}/lib -lexpat -lutil -Wl,-h,$(SOVERSION) -o $(SONAME)
.c.a:
$(CC) $(CFLAGS) -c $< -o $*.o
@@ -54,4 +54,4 @@
+ ${BSD_INSTALL_MAN} docs/man/*.3m.gz $(mandir)/man3
zip:
- cd .. && zip -lr $(DISTRO)/.$(DISTRO).zip $(DISTRO) -x $(DISTRO)/.* $(DISTRO)/docs/man/* $(DISTRO)/tests/data* $(DISTRO)/libmba.lib $(DISTRO)/libmba.dll $(DISTRO)/libmba_s.lib
+ -rm docs/www/dl
diff -urN /usr/ports/devel/libmba/files/patch-src::shellout.c devel/libmba/files/patch-src::shellout.c
--- /usr/ports/devel/libmba/files/patch-src::shellout.c Thu Jan 1 09:00:00 1970
+++ devel/libmba/files/patch-src::shellout.c Tue Apr 15 12:46:24 2003
@@ -0,0 +1,11 @@
+--- src/shellout.c.orig Mon Mar 10 09:10:10 2003
++++ src/shellout.c Tue Apr 15 12:46:00 2003
+@@ -27,7 +27,7 @@
+ #include <string.h>
+ #include <termios.h>
+ #include <unistd.h>
+-#include <pty.h>
++/* #include <pty.h> */
+ #include <errno.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>
diff -urN /usr/ports/devel/libmba/pkg-descr devel/libmba/pkg-descr
--- /usr/ports/devel/libmba/pkg-descr Fri Feb 7 20:18:00 2003
+++ devel/libmba/pkg-descr Tue Apr 15 12:27:28 2003
@@ -4,4 +4,4 @@
module for managing error codes and associated messages across separate C
libraries, and more.
-WWW: http://www.eskimo.com/~miallen/libmba/
+WWW: http://www.ioplex.com/~miallen/libmba/
diff -urN /usr/ports/devel/libmba/pkg-plist devel/libmba/pkg-plist
--- /usr/ports/devel/libmba/pkg-plist Mon Nov 25 22:18:33 2002
+++ devel/libmba/pkg-plist Tue Apr 15 12:50:41 2003
@@ -5,8 +5,11 @@
include/mba/linkedlist.h
include/mba/mbs.h
include/mba/msgno.h
+include/mba/pool.h
include/mba/profile.h
+include/mba/shellout.h
include/mba/stack.h
+include/mba/varray.h
lib/libmba.a
lib/libmba.so
lib/libmba.so.%%SHLIB_MAJOR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list