ports/114435: Port update: devel/dmalloc to version 5.5.2
pesho.petrov at gmail.com
pesho.petrov at gmail.com
Mon Jul 9 11:20:02 UTC 2007
>Number: 114435
>Category: ports
>Synopsis: Port update: devel/dmalloc to version 5.5.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 09 11:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Petar Zhivkov Petrov
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
N/A
>Environment:
System: FreeBSD mira 7.0-CURRENT FreeBSD 7.0-CURRENT #4: Fri Jul 6 20:51:43 EEST 2007 root at mira:/usr/obj/usr/src/sys/MIRA i386
>Description:
- Update devel/dmalloc to version 5.5.2.
- Take port maintainership.
- No need to replace "-lpthread" in configure already.
>How-To-Repeat:
>Fix:
--- dmalloc-update.patch begins here ---
diff -ruN dmalloc/Makefile dmalloc_new/Makefile
--- dmalloc/Makefile 2006-08-15 01:55:06.000000000 +0300
+++ dmalloc_new/Makefile 2007-07-06 17:36:25.000000000 +0300
@@ -5,13 +5,13 @@
# $FreeBSD: ports/devel/dmalloc/Makefile,v 1.15 2006/08/14 22:55:06 clsung Exp $
PORTNAME= dmalloc
-PORTVERSION= 5.4.2
+PORTVERSION= 5.5.2
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= dmalloc
+# Version 5.5.2 is only available at this URL
+MASTER_SITES= http://dmalloc.com/releases/
EXTRACT_SUFX= .tgz
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= pesho.petrov at gmail.com
COMMENT= Portable debug memory allocation library
GNU_CONFIGURE= yes
@@ -23,15 +23,12 @@
ALL_TARGET= all heavy
INSTALL_TARGET= install
-INFO= dmalloc
-
.if !defined(NOPORTDOCS)
-INSTALL_TARGET+=installdocs installinfo
+INSTALL_TARGET+=installdocs
.endif
pre-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|\.so|\.so.1|' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|\. at shlibext@|\. at shlibext@.1|' ${WRKSRC}/Makefile.in
post-install:
@(cd ${PREFIX}/lib; \
diff -ruN dmalloc/distinfo dmalloc_new/distinfo
--- dmalloc/distinfo 2006-01-22 10:28:04.000000000 +0200
+++ dmalloc_new/distinfo 2007-07-06 19:00:06.000000000 +0300
@@ -1,3 +1,3 @@
-MD5 (dmalloc-5.4.2.tgz) = ca8d9d72351679e20b8eff96a7a16bf3
-SHA256 (dmalloc-5.4.2.tgz) = e115674be6c8efd503c1c2d68513c9f1686abdf25b520738ee6949e14a702829
-SIZE (dmalloc-5.4.2.tgz) = 371228
+MD5 (dmalloc-5.5.2.tgz) = f92e5606c23a8092f3d5694e8d1c932e
+SHA256 (dmalloc-5.5.2.tgz) = d3be5c6eec24950cb3bd67dbfbcdf036f1278fae5fd78655ef8cdf9e911e428a
+SIZE (dmalloc-5.5.2.tgz) = 666608
diff -ruN dmalloc/files/patch-Makefile.in dmalloc_new/files/patch-Makefile.in
--- dmalloc/files/patch-Makefile.in 1970-01-01 02:00:00.000000000 +0200
+++ dmalloc_new/files/patch-Makefile.in 2007-07-06 19:20:56.000000000 +0300
@@ -0,0 +1,38 @@
+--- Makefile.in Fri Jul 6 19:20:21 2007
++++ Makefile.in.new Fri Jul 6 19:20:46 2007
+@@ -257,7 +257,7 @@
+ # via: http://256.com/gray/email.html
+ $(LIB_SL) : $(LIBRARY)
+ rm -f $@ $@.t
+- @shlinkargs@ $(LIBRARY) $(OBJS) $(NORMAL_OBJS)
++ @shlinkargs@ $(LIBRARY)
+ mv $@.t $@
+
+ $(LIBRARY) : $(OBJS) $(NORMAL_OBJS)
+@@ -270,7 +270,7 @@
+
+ $(LIB_TH_SL) : $(LIB_TH)
+ rm -f $@ $@.t
+- @shlinkargs@ $(LIB_TH) $(OBJS) $(THREAD_OBJS)
++ @shlinkargs@ $(LIB_TH)
+ mv $@.t $@
+
+ $(LIB_CXX) : $(OBJS) $(NORMAL_OBJS) $(CXX_OBJS)
+@@ -279,7 +279,7 @@
+
+ $(LIB_CXX_SL) : $(LIB_CXX)
+ rm -f $@ $@.t
+- @shlinkargs@ $(LIB_CXX) $(OBJS) $(NORMAL_OBJS) $(CXX_OBJS)
++ @shlinkargs@ $(LIB_CXX)
+ mv $@.t $@
+
+ $(LIB_TH_CXX) : $(OBJS) $(THREAD_OBJS) $(CXX_OBJS)
+@@ -288,7 +288,7 @@
+
+ $(LIB_TH_CXX_SL) : $(LIB_TH_CXX)
+ rm -f $@ $@.t
+- @shlinkargs@ $(LIB_TH_CXX) $(OBJS) $(THREAD_OBJS) $(CXX_OBJS)
++ @shlinkargs@ $(LIB_TH_CXX)
+ mv $@.t $@
+
+ threadssl : $(LIB_TH_SL)
diff -ruN dmalloc/files/patch-configure dmalloc_new/files/patch-configure
--- dmalloc/files/patch-configure 1970-01-01 02:00:00.000000000 +0200
+++ dmalloc_new/files/patch-configure 2007-07-06 17:00:15.000000000 +0300
@@ -0,0 +1,11 @@
+--- configure 2007-07-06 20:01:39.000000000 +0300
++++ configure_new 2007-07-06 16:59:48.000000000 +0300
+@@ -2643,7 +2643,7 @@
+
+
+ # see if we actually have a CXX program
+-if test "$ac_cv_prog_CXX" = "" -o ! -x "$ac_cv_prog_CXX"; then
++if test "$CXX" = ""; then
+ { echo "$as_me:$LINENO: WARNING: could not find C++ compiler $ac_cv_prog_CXX" >&5
+ echo "$as_me: WARNING: could not find C++ compiler $ac_cv_prog_CXX" >&2;}
+ enable_cxx=no
diff -ruN dmalloc/pkg-plist dmalloc_new/pkg-plist
--- dmalloc/pkg-plist 2004-02-08 23:06:55.000000000 +0200
+++ dmalloc_new/pkg-plist 2007-07-06 17:13:38.000000000 +0300
@@ -1,4 +1,3 @@
- at comment $FreeBSD: ports/devel/dmalloc/pkg-plist,v 1.3 2004/02/08 21:06:55 krion Exp $
bin/dmalloc
include/dmalloc.h
lib/libdmalloc.a
@@ -14,5 +13,6 @@
lib/libdmallocxx.so
lib/libdmallocxx.so.1
%%PORTDOCS%%%%DOCSDIR%%/dmalloc.html
+%%PORTDOCS%%%%DOCSDIR%%/dmalloc.pdf
%%PORTDOCS%%%%DOCSDIR%%/dmalloc.texi
%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- dmalloc-update.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list