Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2010 03:00:12 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/148547: Update port: devel/libcwd to 1.0.4
Message-ID:  <20100714030012.5709b557.tkato432@yahoo.com>
Resent-Message-ID: <201007131810.o6DIA4AU084073@freefall.freebsd.org>

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

>Number:         148547
>Category:       ports
>Synopsis:       Update port: devel/libcwd to 1.0.4
>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:   Tue Jul 13 18:10:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.3-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.4

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/libcwd/Makefile devel/libcwd/Makefile
--- /usr/ports/devel/libcwd/Makefile	2009-08-03 15:16:50.000000000 +0900
+++ devel/libcwd/Makefile	2010-06-10 03:08:22.000000000 +0900
@@ -7,33 +7,24 @@
 #
 
 PORTNAME=	libcwd
-PORTVERSION=	1.0.0
+PORTVERSION=	1.0.4
 CATEGORIES=	devel
 MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	The C++ Debugging Support Library
 
-USE_AUTOTOOLS=	libtool:22
-CONFIGURE_ARGS=	--disable-threading --disable-pch --disable-location
+USE_GNOME=	gnomehack pkgconfig
 USE_GMAKE=	yes
-USE_GNOME=	pkgconfig
+USE_AUTOTOOLS=	libtool:22
+CONFIGURE_ARGS=	--disable-alloc --disable-location --disable-threading \
+		--disable-pch
 USE_LDCONFIG=	yes
 
-post-patch:
-	@${REINPLACE_CMD} -e 's,test x"\$$libcwd_config_alloc" = x"yes",false,g' \
-		-E -e 's,^(DEFS=)(.*),\1"\2 -D__GNU_LIBRARY__=yes",g' \
-		${WRKSRC}/${CONFIGURE_SCRIPT}
-	@${REINPLACE_CMD} -e 's,localtime(,localtime((const time_t *),g' \
-		-e 's,malloc\.h,stdlib.h,g' \
-		${WRKSRC}/debugmalloc.cc
-	@${REINPLACE_CMD} -E -e 's,\$$\(libdir\)/(pkgconfig),${PREFIX}/libdata/\1,g' \
-		${WRKSRC}/${MAKEFILE}.in
-	@${REINPLACE_CMD} -e 's,Elf32_Off,uint32_t,g' ${WRKSRC}/bfd.cc
-	@${REINPLACE_CMD} -e 's|--tag=CXX||g' ${WRKSRC}/${MAKEFILE}.in \
-		${WRKSRC}/utils/${MAKEFILE}.in
+CFLAGS+=	-D__GNU_LIBRARY__
 
-pre-configure:
-	@${CP} ${LTMAIN} ${WRKSRC}
+post-patch:
+	@${REINPLACE_CMD} -e 's|malloc\.h|stdlib.h|g ; \
+		 s|localtime(|localtime((const time_t *)|g' ${WRKSRC}/debugmalloc.cc
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/libcwd/distinfo devel/libcwd/distinfo
--- /usr/ports/devel/libcwd/distinfo	2008-02-22 13:41:23.000000000 +0900
+++ devel/libcwd/distinfo	2010-06-10 03:14:34.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (libcwd-1.0.0.tar.gz) = fe4b5af9cea5880abb75d63e40d69f93
-SHA256 (libcwd-1.0.0.tar.gz) = b0c8d2e2b48be36ecf8e543c411e9d14159acd6a5ec5623114f0c3612d629da1
-SIZE (libcwd-1.0.0.tar.gz) = 1854513
+MD5 (libcwd-1.0.4.tar.gz) = e2c9bd567d5152326671eaeca827510a
+SHA256 (libcwd-1.0.4.tar.gz) = 23c6e29d842af9a91ed2a26327c4d3e04ce45b122c9c050fa308e100029e6b1f
+SIZE (libcwd-1.0.4.tar.gz) = 1823868
diff -urN /usr/ports/devel/libcwd/pkg-plist devel/libcwd/pkg-plist
--- /usr/ports/devel/libcwd/pkg-plist	2008-02-22 13:41:23.000000000 +0900
+++ devel/libcwd/pkg-plist	2010-05-25 01:33:39.000000000 +0900
@@ -68,7 +68,7 @@
 lib/libcwd.a
 lib/libcwd.la
 lib/libcwd.so
-lib/libcwd.so.1
+lib/libcwd.so.2
 libdata/pkgconfig/libcwd.pc
 libdata/pkgconfig/libcwd_r.pc
 %%DATADIR%%/libcwdrc
>Release-Note:
>Audit-Trail:
>Unformatted:



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