diff options
author | Maho Nakata <maho@FreeBSD.org> | 2004-11-23 10:16:19 +0800 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2004-11-23 10:16:19 +0800 |
commit | 1f75a4186cb92bb536e71bc6db99ec018780001d (patch) | |
tree | c9e4ef12818907e730f9942703541aa2730cfb21 | |
parent | 23f68d87ca56bfbe5689c088bef8abf13228f907 (diff) | |
download | freebsd-ports-gnome-1f75a4186cb92bb536e71bc6db99ec018780001d.tar.gz freebsd-ports-gnome-1f75a4186cb92bb536e71bc6db99ec018780001d.tar.zst freebsd-ports-gnome-1f75a4186cb92bb536e71bc6db99ec018780001d.zip |
Fix build with WITH_OPTIMIZED_FLAGS defined
PR: 74013
Submitted by: Jie Gao <gaoj at cpsc.ucalgary.ca>
-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> |