1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Fix build on 7.x and 8.x too (previous commit fixed build on 9.x and

10-CURRENT
This commit is contained in:
Steve Wills 2012-06-30 03:00:15 +00:00
parent 7e575ae742
commit 35ce1f7bc1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300237

View File

@ -45,6 +45,12 @@ CFLAGS+= -Dtgammaf=tgamma
. endif
.endif
CFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
LIBS="-L${LOCALBASE}/lib ${LDFLAGS}"
pre-configure:
echo "HAVE_PKG_FLAPACK=yes" >> ${WRKSRC}/config.options
echo "PKG_FLAPACK_LDFLAGS=-L${LOCALBASE}/lib/${CC}" >> ${WRKSRC}/config.options