ports/69554: [maintainer]: ports/valgrind-snapshot: update to version 352

Simon Barner barner at in.tum.de
Sun Jul 25 09:00:42 UTC 2004


>Number:         69554
>Category:       ports
>Synopsis:       [maintainer]: ports/valgrind-snapshot: update to version 352
>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 Jul 25 09:00:40 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Simon Barner
>Release:        FreeBSD 5.2.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD zi025.glhnet.mhn.de 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #0: Sat Apr 17 12:06:11 CEST 2004 toor at zi025.glhnet.mhn.de:/usr/src/sys/i386/compile/KISTE i386

>Description:

Update to version 352 from Doug Rabsons SVN repository. He also did the
main part of the port update.

Other improvement: Check gmake version, since valgrind does not build
with gmake < 3.80.

Note: there is a similar PR for devel/valgrind :-)

>How-To-Repeat:

N/A

>Fix:

diff -ruN valgrind-snapshot.orig/Makefile valgrind-snapshot/Makefile
--- valgrind-snapshot.orig/Makefile	Sun May 23 19:40:32 2004
+++ valgrind-snapshot/Makefile	Sun Jul 25 10:33:14 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	valgrind
-PORTVERSION=	337
+PORTVERSION=	352
 CATEGORIES=	devel
 MASTER_SITES=	http://www.rabson.org/
 PKGNAMESUFFIX=	-snapshot
@@ -15,7 +15,7 @@
 MAINTAINER=	barner at gmx.de
 COMMENT=	A (memory) debugging and profiling tool
 
-CONFLICTS=	valgrind-32*
+CONFLICTS=	valgrind-352
 LATEST_LINK=	valgrind-snapshot
 
 ONLY_FOR_ARCHS=	i386
@@ -31,6 +31,7 @@
 .include <bsd.port.pre.mk>
 
 PROCFS!=	/sbin/mount | ${GREP} '^procfs' | ${AWK} '{print $1}'
+GMAKE_VER!=	gmake -v | ${AWK} ' NR == 1 { print $$3 } '
 
 pre-everything::
 
@@ -50,12 +51,23 @@
 	@${FALSE}
 .endif
 
+.if ${GMAKE_VER} < 3.80
+	@${ECHO_CMD} ""
+	@${ECHO_CMD} "All gmake versions < 3.80 are affected by a bug that makes the"
+	@${ECHO_CMD} "valgrind port fail. Please update your gmake installation."
+	@${ECHO_CMD} ""
+	@${FALSE}	
+.endif
+
 .if ${PERL_LEVEL} < 500601
+	@${ECHO_CMD} ""
 	@${ECHO_CMD} "Your Perl version is too old. You will need at least Perl 5.6.1"
 	@${ECHO_CMD} "in order to build valgrind."
 	@${ECHO_CMD} ""
 	@${ECHO_CMD} "Please use the lang/perl5 or the lang/perl5.8 to upgrade your"
 	@${ECHO_CMD} "Perl installation to version 5.6.1 or 5.8.2 respectively."
+	@${ECHO_CMD} ""
+	@${FALSE}
 .endif
 
 pre-patch:
diff -ruN valgrind-snapshot.orig/distinfo valgrind-snapshot/distinfo
--- valgrind-snapshot.orig/distinfo	Sun May 23 19:40:32 2004
+++ valgrind-snapshot/distinfo	Sun Jul 25 10:06:12 2004
@@ -1,2 +1,2 @@
-MD5 (valgrind-current-337.tar.gz) = 7b000f7de6bd6b9e9213b719299cf48a
-SIZE (valgrind-current-337.tar.gz) = 1335664
+MD5 (valgrind-current-352.tar.gz) = 4ed43827c2ee1d2ce2b629594b9aa910
+SIZE (valgrind-current-352.tar.gz) = 1405656
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list