aboutsummaryrefslogtreecommitdiff
path: root/devel/papi
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-10-27 14:49:53 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-10-27 14:49:53 +0000
commit0c56cce775b02388144ccac204321cd1c2cee0a2 (patch)
tree690e7bebfad178c70ee202004b6127e31fc27f9f /devel/papi
parente99f73e8bb235f079e560874f2c5e3f21c9af807 (diff)
downloadports-0c56cce775b02388144ccac204321cd1c2cee0a2.tar.gz
ports-0c56cce775b02388144ccac204321cd1c2cee0a2.zip
- Fix build with gcc 4.2
PR: 117204 Submitted by: "Harald Servat" <redcrash@gmail.com> Thanks to: nox@
Notes
Notes: svn path=/head/; revision=202137
Diffstat (limited to 'devel/papi')
-rw-r--r--devel/papi/Makefile12
-rw-r--r--devel/papi/distinfo6
-rw-r--r--devel/papi/pkg-plist2
3 files changed, 8 insertions, 12 deletions
diff --git a/devel/papi/Makefile b/devel/papi/Makefile
index ba87d560eea3..299135b6f4f6 100644
--- a/devel/papi/Makefile
+++ b/devel/papi/Makefile
@@ -7,10 +7,10 @@
PORTNAME= papi
PORTVERSION= 3.5.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= http://papi-for-freebsd.googlecode.com/files/:source1
-DISTFILES= papi-3.5.0-freebsd-rev45.tar.bz2:source1
+DISTFILES= papi-3.5.0-freebsd-rev49.tar.bz2:source1
MAINTAINER= redcrash@gmail.com
COMMENT= API to access the performance counter hw in the microprocessor
@@ -27,6 +27,8 @@ WRKMAN= ${WRKDIR}/PAPI/man
# fortran compiler
USE_FORTRAN= yes
+CONFIGURE_ENV+= F77="${F77}" FFLAGS="-fdefault-integer-8"
+
OPTIONS= CTESTS "Install C tests" On
OPTIONS+= FTESTS "Install Fortran tests" On
OPTIONS+= DEBUG "Add debug information (increased verbosity)" Off
@@ -37,12 +39,6 @@ ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= HWPMC kernel module is only available for I386 and \
AMD64 machines
-.if ${OSVERSION} >= 700042
-.if ${ARCH} == "amd64"
-BROKEN= Does not compile with GCC 4.2
-.endif
-.endif
-
.if defined(WITHOUT_CTESTS)
PLIST_SUB+= CTESTS="@comment "
.else
diff --git a/devel/papi/distinfo b/devel/papi/distinfo
index d8bee1698841..86208b2783b1 100644
--- a/devel/papi/distinfo
+++ b/devel/papi/distinfo
@@ -1,3 +1,3 @@
-MD5 (papi-3.5.0-freebsd-rev45.tar.bz2) = 8e074f604ea13e5f90cfc61f936267b7
-SHA256 (papi-3.5.0-freebsd-rev45.tar.bz2) = 2d1f0da46ed5f7e42564309698ada13a7b515dfe6a1508fcd61ba3814a24d247
-SIZE (papi-3.5.0-freebsd-rev45.tar.bz2) = 2740086
+MD5 (papi-3.5.0-freebsd-rev49.tar.bz2) = b1e71f08710a4f0bc6fe5b1d8217082d
+SHA256 (papi-3.5.0-freebsd-rev49.tar.bz2) = 0bca15ff53f75fc56544dc6502da2b76f9f6dbb95bb5b4e07e893127d21d3eef
+SIZE (papi-3.5.0-freebsd-rev49.tar.bz2) = 2740609
diff --git a/devel/papi/pkg-plist b/devel/papi/pkg-plist
index 52fd5d85c82f..f93865cbbbc8 100644
--- a/devel/papi/pkg-plist
+++ b/devel/papi/pkg-plist
@@ -98,5 +98,5 @@ lib/libpapi.so
%%FTESTS%%share/ftests/strtest
%%FTESTS%%share/ftests/tenth
%%FTESTS%%share/ftests/zero
-%%CTESTS%%@dirrm share/ctests
%%FTESTS%%@dirrm share/ftests
+%%CTESTS%%@dirrm share/ctests