diff options
author | maho <maho@FreeBSD.org> | 2004-03-11 03:37:24 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2004-03-11 03:37:24 +0800 |
commit | ff4ed5fc51cdc55aea10609d691018cab4cbb115 (patch) | |
tree | c8b43d0de4e64f8afd23ddb3cff843d178b429aa /science/mpqc | |
parent | 5b6dfc16d6636bff047904238c06a84f9534870e (diff) | |
download | freebsd-ports-gnome-ff4ed5fc51cdc55aea10609d691018cab4cbb115.tar.gz freebsd-ports-gnome-ff4ed5fc51cdc55aea10609d691018cab4cbb115.tar.zst freebsd-ports-gnome-ff4ed5fc51cdc55aea10609d691018cab4cbb115.zip |
Clean up this port
1) reduce optimization level and remove
inappropreate optimization flags
2) use autoconf 257
3) remove lapack dependency
4) fix pkg-plist
Diffstat (limited to 'science/mpqc')
-rw-r--r-- | science/mpqc/Makefile | 16 | ||||
-rw-r--r-- | science/mpqc/pkg-plist | 20 |
2 files changed, 27 insertions, 9 deletions
diff --git a/science/mpqc/Makefile b/science/mpqc/Makefile index 1271cabe9382..ce60b167711c 100644 --- a/science/mpqc/Makefile +++ b/science/mpqc/Makefile @@ -18,13 +18,12 @@ DISTFILES+= mpqc-man-${PORTVERSION}.tar.gz mpqc-html-${PORTVERSION}.tar.gz MAINTAINER= maho@FreeBSD.org COMMENT= The massively parallel quantum computing library and program -BUILD_DEPENDS= autoconf257:${PORTSDIR}/devel/autoconf257 -LIB_DEPENDS= lapack:${PORTSDIR}/math/lapack \ - atlas:${PORTSDIR}/math/atlas +LIB_DEPENDS= atlas:${PORTSDIR}/math/atlas USE_BISON= yes GNU_CONFIGURE= yes -#USE_AUTOCONF_VER= 253 # 257 is required +USE_AUTOCONF_VER=257 + CONFIGURE_ARGS= --with-cc=${CC} \ --with-cxx=${CXX} \ --with-f77=${FC} \ @@ -44,17 +43,16 @@ MPQC_COMMAND= ${PREFIX}/bin/mpqc .include "${FILESDIR}/manpages" .if defined(WITH_OPTIMIZED_FLAGS) -CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -CXXFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -Wno-multichar +CFLAGS+= -O2 -ffast-math +CXXFLAGS+= -O2 -ffast-math .if (${MACHINE_ARCH} == "i386") -CFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387 -CXXFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387 +CFLAGS+= -mfancy-math-387 +CXXFLAGS+= -mfancy-math-387 .endif # i386 .endif pre-configure: @${ECHO} "You can optimize by setting WITH_OPTIMIZED_FLAGS=yes." - @cd ${WRKSRC} ; ${LOCALBASE}/bin/autoconf257 do-install: @cd ${WRKSRC} ; ${GMAKE} install diff --git a/science/mpqc/pkg-plist b/science/mpqc/pkg-plist index 29ff0552f549..6ac2de23384b 100644 --- a/science/mpqc/pkg-plist +++ b/science/mpqc/pkg-plist @@ -4367,6 +4367,26 @@ share/mpqc/ref/mp2r12_mp2r12slasha00ccpvdzaugccpvdzc2v.in~ share/mpqc/ref/mp2r12_mp2r12slasha00ccpvdzaugccpvdzc2v.out share/mpqc/ref/mp2r12_mp2r12slasha00ccpvdzaugccpvdzc2v.qci share/mpqc/ref/mp2r12_mp2r12slasha00ccpvdzccpvdzc2v.in +share/mpqc/ref/mp2r12_mp2r12slasha00ccpvdzccpvdzc2v.out +share/mpqc/ref/mp2r12_mp2r12slasha00ccpvdzccpvdzc2v.qci +share/mpqc/ref/mp2r12_mp2r12slasha10ccpvdzaugccpvdzc2v.in +share/mpqc/ref/mp2r12_mp2r12slasha10ccpvdzaugccpvdzc2v.out +share/mpqc/ref/mp2r12_mp2r12slasha10ccpvdzaugccpvdzc2v.qci +share/mpqc/ref/mp2r12_mp2r12slasha10ccpvdzccpvdzc2v.in +share/mpqc/ref/mp2r12_mp2r12slasha10ccpvdzccpvdzc2v.out +share/mpqc/ref/mp2r12_mp2r12slasha10ccpvdzccpvdzc2v.qci +share/mpqc/ref/mp2r12_mp2r12slashaprime00ccpvdzaugccpvdzc2v.in +share/mpqc/ref/mp2r12_mp2r12slashaprime00ccpvdzaugccpvdzc2v.out +share/mpqc/ref/mp2r12_mp2r12slashaprime00ccpvdzaugccpvdzc2v.qci +share/mpqc/ref/mp2r12_mp2r12slashaprime00ccpvdzccpvdzc2v.in +share/mpqc/ref/mp2r12_mp2r12slashaprime00ccpvdzccpvdzc2v.out +share/mpqc/ref/mp2r12_mp2r12slashaprime00ccpvdzccpvdzc2v.qci +share/mpqc/ref/mp2r12_mp2r12slashaprime10ccpvdzaugccpvdzc2v.in +share/mpqc/ref/mp2r12_mp2r12slashaprime10ccpvdzaugccpvdzc2v.out +share/mpqc/ref/mp2r12_mp2r12slashaprime10ccpvdzaugccpvdzc2v.qci +share/mpqc/ref/mp2r12_mp2r12slashaprime10ccpvdzccpvdzc2v.in +share/mpqc/ref/mp2r12_mp2r12slashaprime10ccpvdzccpvdzc2v.out +share/mpqc/ref/mp2r12_mp2r12slashaprime10ccpvdzccpvdzc2v.qci share/mpqc/ref/opt_b2h6scf631gsd2hopt.in share/mpqc/ref/opt_b2h6scf631gsd2hopt.out share/mpqc/ref/opt_b2h6scf631gsd2hopt.qci |