forked from Lainports/freebsd-ports
while here: - trim Makefile header - convert to optionsng - remove trailing whitespace in pkg-descr Submitted by: hiren panchasara <hiren.panchasara at gmail dot com> (via ports@) Approved by: Harald Servat <redcrash at gmail dot com> (maintainer, via ports@) Feature safe: yes
11 lines
439 B
Text
11 lines
439 B
Text
--- ./configure.orig 2011-01-21 06:49:01.000000000 +0300
|
|
+++ ./configure 2012-10-22 12:27:41.000000000 +0400
|
|
@@ -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
|