diff options
author | Maho Nakata <maho@FreeBSD.org> | 2004-11-23 02:16:19 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2004-11-23 02:16:19 +0000 |
commit | 1f75a4186cb92bb536e71bc6db99ec018780001d (patch) | |
tree | c9e4ef12818907e730f9942703541aa2730cfb21 /science/psi3 | |
parent | Fix build with WITH_OPTIMIZED_FLAGS (diff) |
Fix build with WITH_OPTIMIZED_FLAGS defined
PR: 74013
Submitted by: Jie Gao <gaoj at cpsc.ucalgary.ca>
Diffstat (limited to 'science/psi3')
-rw-r--r-- | science/psi3/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/science/psi3/Makefile b/science/psi3/Makefile index 8543d34d8962..782ffe00ee31 100644 --- a/science/psi3/Makefile +++ b/science/psi3/Makefile @@ -39,6 +39,8 @@ CONFIGURE_ARGS= --with-cc=${CC} \ --with-libdirs="-L${LOCALBASE}/lib" \ --with-libs="-lcompat" +.include <bsd.port.pre.mk> + .if defined(WITH_OPTIMIZED_FLAGS) FFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double @@ -85,4 +87,4 @@ do-install: @${MKDIR} ${PREFIX}/share/examples/psi3 @${TAR} cf - -C ${WRKSRC}/tests . | ${TAR} xf - -C ${PREFIX}/share/examples/psi3 -.include <bsd.port.mk> +.include <bsd.port.post.mk> |