ports/84285: Port update: /devel/ccmalloc 0.3.9_2 -> 0.4.0
Daniel Blankensteiner
db at trunet.dk
Fri Jul 29 10:30:13 UTC 2005
>Number: 84285
>Category: ports
>Synopsis: Port update: /devel/ccmalloc 0.3.9_2 -> 0.4.0
>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: Fri Jul 29 10:30:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Daniel Blankensteiner
>Release: FreeBSD 5.4-SECURITY i386
>Organization:
>Environment:
System: FreeBSD 5.4-SECURITY #0: Wed Jul 20 08:57:11 UTC 2005
root at builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
>Description:
http://lists.freebsd.org/pipermail/freebsd-ports/2005-July/025012.html
>How-To-Repeat:
>Fix:
--- fix begins here ---
diff -ruN /usr/ports/devel/ccmalloc/Makefile devel/ccmalloc/Makefile
--- /usr/ports/devel/ccmalloc/Makefile Wed Jul 27 21:15:05 2005
+++ devel/ccmalloc/Makefile Thu Jul 28 15:36:29 2005
@@ -6,27 +6,17 @@
#
PORTNAME= ccmalloc
-PORTVERSION= 0.3.9
-PORTREVISION= 2
+PORTVERSION= 0.4.0
CATEGORIES= devel
-MASTER_SITES= http://www2.inf.ethz.ch/personal/biere/projects/ccmalloc/
+MASTER_SITES= http://www.inf.ethz.ch/personal/biere/projects/ccmalloc/
MAINTAINER= jure at kom.org
COMMENT= C/C++ memory profiler and memory leak tracer
-USE_PERL5= yes
USE_GMAKE= yes
HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}
-
-CC= gcc -g -Wall
-CXX= g++
-
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 500000
-EXTRA_PATCHES= ${FILESDIR}/patch5-configure
-.endif
post-install:
@${CAT} pkg-message
diff -ruN /usr/ports/devel/ccmalloc/distinfo devel/ccmalloc/distinfo
--- /usr/ports/devel/ccmalloc/distinfo Wed Jul 27 21:09:44 2005
+++ devel/ccmalloc/distinfo Thu Jul 28 15:33:44 2005
@@ -1,2 +1,2 @@
-MD5 (ccmalloc-0.3.9.tar.gz) = 9ba598edf3b21acc6a7a6196944f5af7
-SIZE (ccmalloc-0.3.9.tar.gz) = 57501
+MD5 (ccmalloc-0.4.0.tar.gz) = b90d955149569bbc6e801739f099db3d
+SIZE (ccmalloc-0.4.0.tar.gz) = 57917
diff -ruN /usr/ports/devel/ccmalloc/files/patch-Makefile.in devel/ccmalloc/files/patch-Makefile.in
--- /usr/ports/devel/ccmalloc/files/patch-Makefile.in Sat Apr 5 12:47:13 2003
+++ devel/ccmalloc/files/patch-Makefile.in Thu Jan 1 00:00:00 1970
@@ -1,18 +0,0 @@
---- Makefile.in.orig Wed Jan 30 15:27:10 2002
-+++ Makefile.in Mon Mar 18 17:39:49 2002
-@@ -3,6 +3,7 @@
- COMPILERS=@COMPILERS@
- TARGETS=lib/libccmalloc.a @TARGETS@ bin/ccmalloc
- PREFIX=@PREFIX@
-+OPSYS=@OPSYS@
-
- #--------------------------------------------------------------------------#
-
-@@ -43,6 +44,7 @@
- -e 's,@''PREFIX@,$(PREFIX),g' \
- -e 's,@''COMPILERS@,"$(COMPILERS)",g' \
- -e 's,@''VERSION@, at VERSION@,g' \
-+ -e 's,@''OPSYS@, at OPSYS@,g' \
- src/ccmalloc.in > $@
- chmod 755 $@
-
diff -ruN /usr/ports/devel/ccmalloc/files/patch-src::ccmalloc.in devel/ccmalloc/files/patch-src::ccmalloc.in
--- /usr/ports/devel/ccmalloc/files/patch-src::ccmalloc.in Sat Apr 5 12:47:13 2003
+++ devel/ccmalloc/files/patch-src::ccmalloc.in Thu Jan 1 00:00:00 1970
@@ -1,29 +0,0 @@
---- src/ccmalloc.in.orig Wed Jan 30 06:23:55 2002
-+++ src/ccmalloc.in Sat Apr 5 02:05:19 2003
-@@ -9,6 +9,13 @@
- #
- COMPILERS=@COMPILERS@
- PREFIX=@PREFIX@
-+OPSYS=@OPSYS@
-+
-+case $OPSYS in
-+ linux | solaris) COMP_ARGS='-lccmalloc -ldl';;
-+ freebsd ) COMP_ARGS='-lccmalloc';;
-+ *) COMP_ARGS='-lccmalloc -ldl';;
-+esac
-
- usage () {
- echo \
-@@ -104,10 +111,10 @@
- then
- wrapper="$PREFIX/lib/ccmalloc-$CC.o"
- echo "ccmalloc: using '$wrapper' as C++ wrapper"
-- cmd="$args $wrapper -L$PREFIX/lib -lccmalloc -ldl"
-+ cmd="$args $wrapper -L$PREFIX/lib $COMP_ARGS"
- else
- echo "ccmalloc: no C++ wrapper for '$base' installed"
-- cmd="$args -L$PREFIX/lib -lccmalloc -ldl"
-+ cmd="$args -L$PREFIX/lib $COMP_ARGS"
- fi
-
- echo $cmd
diff -ruN /usr/ports/devel/ccmalloc/files/patch5-configure devel/ccmalloc/files/patch5-configure
--- /usr/ports/devel/ccmalloc/files/patch5-configure Sat Apr 12 00:42:11 2003
+++ devel/ccmalloc/files/patch5-configure Thu Jan 1 00:00:00 1970
@@ -1,82 +0,0 @@
---- configure.orig Wed Feb 6 01:20:53 2002
-+++ configure Sat Apr 5 04:43:02 2003
-@@ -27,7 +27,8 @@
- fmt="%-26s ..."
- debug=no
- prefix=/usr/local
--os=unsupported
-+
-+OPSYS=unsupported
-
- #--------------------------------------------------------------------------#
- # process command line options
-@@ -40,7 +41,7 @@
- exit 0
- ;;
- --prefix=*)
-- prefix=`expr $1 : '--prefix=\(.*\)'`
-+ prefix=`expr -- $1 : '--prefix=\(.*\)'`
- ;;
- --debug)
- debug=yes
-@@ -70,26 +71,26 @@
- SunOS )
- case `uname -r` in
- 5.* )
-- os=solaris
-+ OPSYS=solaris
- ;;
- esac
- ;;
- Linux )
-- os=linux
-+ OPSYS=linux
- ;;
- FreeBSD )
-- os=freebsd
-+ OPSYS=freebsd
- ;;
- esac
-
--if [ $os = unsupported ]
-+if [ $OPSYS = unsupported ]
- then
- echo
- echo "*** configure: unsupported operating system" 1>&2
- exit 1
- fi
-
--echo " $os"
-+echo " $OPSYS"
-
- #--------------------------------------------------------------------------#
- # search for C compilers
-@@ -205,7 +206,7 @@
- }
- EOF
-
--case $os in
-+case $OPSYS in
- freebsd )
- LIB=""
- ;;
-@@ -285,8 +286,9 @@
- (
- echo "#ifndef _config_h_INCLUDED"
- [ $debug = no ] && echo "#define NDEBUG"
--[ $os = solaris ] && echo "#define OS_IS_SOLARIS"
--[ $os = linux ] && echo "#define OS_IS_LINUX"
-+[ $OPSYS = solaris ] && echo "#define OS_IS_SOLARIS"
-+[ $OPSYS = linux ] && echo "#define OS_IS_LINUX"
-+[ $OPSYS = freebsd ] && echo "#define OS_IS_FREEBSD"
- [ $atexit = yes ] && echo "#define HAVE_ATEXIT"
- cat<<-EOF
- #define VERSION "$version"
-@@ -319,6 +321,7 @@
- -e "s, at COMPILERS@,$COMPILERS,g" \
- -e "s, at VERSION@,$version,g" \
- -e "s, at TARGETS@,$TARGETS,g" \
-+-e "s, at OPSYS@,$OPSYS,g" \
- Makefile.in > $dst
-
- echo >> $dst
--- fix ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list