Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 May 2004 14:56:05 +0200 (CEST)
From:      Florent Thoumie <flz@xbsd.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/67380: Update port: net/libbt - Update to version 1.02
Message-ID:  <20040530125605.5E030B41@gw.xbsd.org>
Resent-Message-ID: <200405301300.i4UD0eBq018890@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         67380
>Category:       ports
>Synopsis:       Update port: net/libbt - Update to version 1.02
>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:   Sun May 30 06:00:40 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Florent Thoumie
>Release:        FreeBSD 4.9-RC i386
>Organization:
Xbsd.org
>Environment:

System: FreeBSD gw 4.9-RC FreeBSD 4.9-RC #4: Sun Oct 5 14:25:09 CEST 2003 rf@gw:/usr/src/sys/compile/GW i386

>Description:

Update to version 1.02.

>How-To-Repeat:

N/A

>Fix:

--- libbt-1.02.diff begins here ---
diff -ruN libbt/Makefile libbt.new/Makefile
--- libbt/Makefile	Sun Apr 25 23:13:03 2004
+++ libbt.new/Makefile	Sun May 30 14:45:22 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	libbt
-PORTVERSION=	1.01
+PORTVERSION=	1.02
 CATEGORIES=	net devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -23,15 +23,11 @@
 USE_GCC=	3.3
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "alpha"
-BROKEN=		"Does not compile on alpha"
-.endif
+PORTDOCS=	protocol-ext.txt protocol.txt
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|depend||' ${WRKSRC}/Makefile.in
-	@${REINPLACE_CMD} -e 's|\(CFLAGS:=\)|\1\@CFLAGS\@ |' ${WRKSRC}/src/Makefile.in
+	@${REINPLACE_CMD} -e 's|\(CFLAGS:=\)|\1\@CFLAGS\@ \@CPPFLAGS\@ |' ${WRKSRC}/src/Makefile.in
 
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/src/libbt.a ${PREFIX}/lib
@@ -46,7 +42,9 @@
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/docs/protocol.txt ${DOCSDIR}
+.for i in ${PORTDOCS}
+	${INSTALL_MAN} ${WRKSRC}/docs/${i} ${DOCSDIR}
+.endfor
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN libbt/distinfo libbt.new/distinfo
--- libbt/distinfo	Sun Apr 25 23:13:03 2004
+++ libbt.new/distinfo	Sat May 29 17:22:42 2004
@@ -1,2 +1,2 @@
-MD5 (libbt-1.01.tar.gz) = 6a22db0d4db9036afbb5af94b8fdd526
-SIZE (libbt-1.01.tar.gz) = 307537
+MD5 (libbt-1.02.tar.gz) = 1db9d77dd51014d672e1c3e2fd60eb31
+SIZE (libbt-1.02.tar.gz) = 307050
diff -ruN libbt/files/patch-include::util.h libbt.new/files/patch-include::util.h
--- libbt/files/patch-include::util.h	Thu Jan  1 01:00:00 1970
+++ libbt.new/files/patch-include::util.h	Sun May 30 14:18:34 2004
@@ -0,0 +1,12 @@
+--- include/util.h	Fri Apr 16 08:41:48 2004
++++ include/util.h.new	Sun May 30 14:17:54 2004
+@@ -28,9 +28,4 @@
+ 	typedef void (*exitfn_ptr) (int,void*);
+ 	int on_exit( exitfn_ptr exitfn, void* data) ;
+ #endif
+-#define malloc(s) use_btmalloc_instead
+-#define calloc(n,s) use_btcalloc_instead
+-#define realloc(p,s) use_btrealloc_instead
+-#define free(p) use_btfree_instead
+-
+ #endif
diff -ruN libbt/pkg-plist libbt.new/pkg-plist
--- libbt/pkg-plist	Sun Apr 25 23:13:03 2004
+++ libbt.new/pkg-plist	Sun May 30 14:46:26 2004
@@ -15,6 +15,4 @@
 include/libbt/types.h
 include/libbt/util.h
 lib/libbt.a
-%%PORTDOCS%%%%DOCSDIR%%/protocol.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm include/libbt
--- libbt-1.02.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040530125605.5E030B41>