diff options
author | Maho Nakata <maho@FreeBSD.org> | 2004-03-10 19:37:24 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2004-03-10 19:37:24 +0000 |
commit | 05d7ab3f8657a10bb9c948fd854b394c6ad95c4f (patch) | |
tree | 6580e782a31ed63a1f617e2936b83e49d1c93fb6 /science/mpqc/Makefile | |
parent | 08bf080d23e02e5b29151c63d75c56c8904039ab (diff) | |
download | ports-05d7ab3f8657a10bb9c948fd854b394c6ad95c4f.tar.gz ports-05d7ab3f8657a10bb9c948fd854b394c6ad95c4f.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
Notes
Notes:
svn path=/head/; revision=103559
Diffstat (limited to 'science/mpqc/Makefile')
-rw-r--r-- | science/mpqc/Makefile | 16 |
1 files changed, 7 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 |