diff options
author | Maho Nakata <maho@FreeBSD.org> | 2006-08-22 03:47:49 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2006-08-22 03:47:49 +0000 |
commit | 52ac72dbd58ca924a3a47bf55a91ccc6d881f8e5 (patch) | |
tree | b7ffcbee74ba70136e35595f0f6ceded005d3457 /math/blacs | |
parent | 8ececbacd47da70e8ad53e60800e85999665fb21 (diff) | |
download | ports-52ac72dbd58ca924a3a47bf55a91ccc6d881f8e5.tar.gz ports-52ac72dbd58ca924a3a47bf55a91ccc6d881f8e5.zip |
Notes
Diffstat (limited to 'math/blacs')
-rw-r--r-- | math/blacs/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/math/blacs/Makefile b/math/blacs/Makefile index f16ebab0dbfb..75bbb8496463 100644 --- a/math/blacs/Makefile +++ b/math/blacs/Makefile @@ -56,9 +56,12 @@ CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops pre-patch: (${CP} ${WRKSRC}/BMAKES/Bmake.MPI-LINUX ${WRKSRC}/Bmake.inc) -post-patch: +pre-configure: (${REINPLACE_CMD} -e 's,@WRKSRC@,${WRKSRC},g ; s,@DEBUG_LEVEL@,${DEBUG_LEVEL},g ; s,@LOCALBASE@,${LOCALBASE},g ; s,@CC@,${CC},g ; s,@CFLAGS@,${CFLAGS},g ; s,@F77@,${F77},g ; s,@FFLAGS@,${FFLAGS},g ; s,@F77EXTRAFLAGS@,${F77EXTRAFLAGS},g ; s, ARCH *.= ar, ARCMD = ar,' ${WRKSRC}/Bmake.inc) ${REINPLACE_CMD} -e 's|\$$(ARCH)|$$(ARCMD)|' ${WRKSRC}/SRC/MPI/Makefile +.if ${OSVERSION} < 500000 + ${REINPLACE_CMD} -e 's|F77LOADFLAGS = |F77LOADFLAGS = ${PTHREAD_LIBS}|' ${WRKSRC}/Bmake.inc +.endif do-build: (cd ${WRKSRC}; make mpi; make tester) |