Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2004 00:13:43 +0200 (CEST)
From:      Simon Barner <barner@in.tum.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70746: devel/valgrind & devel/valgrind-snapshot: detect FreeBSD 6
Message-ID:  <20040820221343.6C6DE3FF0@zi025.glhnet.mhn.de>
Resent-Message-ID: <200408202220.i7KMKGCd079562@freefall.freebsd.org>

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

>Number:         70746
>Category:       ports
>Synopsis:       devel/valgrind & devel/valgrind-snapshot: detect FreeBSD 6
>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:   Fri Aug 20 22:20:15 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@zi025.glhnet.mhn.de:/usr/src/sys/i386/compile/KISTE i386

>Description:

Valgrind nitpickingly checks the operating system version. Since FreeBSD
5 and 6 are almost identical, the following patch should be enough in
order to build valgrind on FreeBSD 6.

Since I don't have access to a FreeBSD 6 machine (yet), the following
patch is unfortunatelly untested.

>How-To-Repeat:

Try to build the devel/valgrind* ports on FreeBSD6

>Fix:

devel/valgrind:

--- configure.orig	Sat Aug 21 00:06:00 2004
+++ configure	Sat Aug 21 00:06:24 2004
@@ -4010,7 +4010,7 @@
 
         ;;
 
-     *freebsd5*)
+     *freebsd[56]*)
         echo "$as_me:$LINENO: result: ok (${host_os})" >&5
 echo "${ECHO_T}ok (${host_os})" >&6
         VG_PLATFORM="x86-freebsd"



devel/valgrind-snapshot:

--- configure.orig	Sat Aug 21 00:03:33 2004
+++ configure	Sat Aug 21 00:03:13 2004
@@ -4020,7 +4020,7 @@
 
         ;;
 
-     *freebsd5*)
+     *freebsd[45]*)
         echo "$as_me:$LINENO: result: ok (${host_os})" >&5
 echo "${ECHO_T}ok (${host_os})" >&6
         VG_PLATFORM="x86-freebsd"
>Release-Note:
>Audit-Trail:
>Unformatted:



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