Date: Mon, 22 Oct 2012 12:09:16 +0400 From: Ruslan Mahmatkhanov <cvs-src@yandex.ru> To: Harald Servat <redcrash@gmail.com> Cc: hiren panchasara <hiren.panchasara@gmail.com>, freebsd-ports@freebsd.org Subject: Re: Building PAPI port on FreeBSD 10 Message-ID: <5084FF2C.5030509@yandex.ru> In-Reply-To: <CAEOTYRfOVwzgwBi32Y43vMNAE7TR8NwCuNsw3QNS1wLh0ZohDQ@mail.gmail.com> References: <CALCpEUG6u%2BbdtDTC-pvJMo58aAzzS-jUfKf0ng3wQi5ZzhOn_g@mail.gmail.com> <CAEOTYRfOVwzgwBi32Y43vMNAE7TR8NwCuNsw3QNS1wLh0ZohDQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I'll take it. Harald Servat wrote on 22.10.2012 11:23: > 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. -- Regards, Ruslan Tinderboxing kills... the drives.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5084FF2C.5030509>