aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-10-27 22:49:53 +0800
committermiwi <miwi@FreeBSD.org>2007-10-27 22:49:53 +0800
commit3ef962d25358f59361f596b103271f39690f8497 (patch)
treeec25e4b5a8e6c8d7871a50132bf186b0093ba4b7
parentfb1a98aaa887d77e780f6c5d5e15eb0d51104a7d (diff)
downloadfreebsd-ports-gnome-3ef962d25358f59361f596b103271f39690f8497.tar.gz
freebsd-ports-gnome-3ef962d25358f59361f596b103271f39690f8497.tar.zst
freebsd-ports-gnome-3ef962d25358f59361f596b103271f39690f8497.zip
- Fix build with gcc 4.2
PR: 117204 Submitted by: "Harald Servat" <redcrash@gmail.com> Thanks to: nox@
-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