Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2012 09:23:42 +0200
From:      Harald Servat <redcrash@gmail.com>
To:        hiren panchasara <hiren.panchasara@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Building PAPI port on FreeBSD 10
Message-ID:  <CAEOTYRfOVwzgwBi32Y43vMNAE7TR8NwCuNsw3QNS1wLh0ZohDQ@mail.gmail.com>
In-Reply-To: <CALCpEUG6u%2BbdtDTC-pvJMo58aAzzS-jUfKf0ng3wQi5ZzhOn_g@mail.gmail.com>
References:  <CALCpEUG6u%2BbdtDTC-pvJMo58aAzzS-jUfKf0ng3wQi5ZzhOn_g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Seems good to me.

Thank you for sending the patch.
El 22/10/2012 7:01, "hiren panchasara" <hiren.panchasara@gmail.com> va
escriure:

> --- configure.orig      2012-10-21 21:46:34.996150862 -0700
> +++ configure   2012-10-21 21:40:23.478149927 -0700
> @@ -5800,7 +5800,7 @@
>      MAKEVER="freebsd"
>      LDFLAGS="-lpmc"
>      # HWPMC driver is available for FreeBSD >= 6
> -    FREEBSD_VERSION=`uname -r | cut -c 1`
> +    FREEBSD_VERSION=`uname -r | cut -d'.' -f1`
>      if test "${FREEBSD_VERSION}" -lt 6 ; then
>        as_fn_error "PAPI requires FreeBSD 6 or greater" "$LINENO" 5
>      fi
>
> Without this change, "make install" fails as it cannot grep correct major
> os revision number.
>
> Let me know if this change looks fine.
>
> Thanks,
> Hiren
>
> P.S: I am not subscribed to this list so please keep me in the loop.
>
>



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