1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-05-04 15:37:40 -04:00

math/libflame: adopt

Configure option --with-extra-cflags is no more recognized, $CFLAGS is.
This commit is contained in:
Thierry Thomas 2025-01-24 14:26:18 +01:00
parent 840f562c77
commit fffbef757b

View file

@ -3,7 +3,7 @@ DISTVERSION= 5.2.0
PORTREVISION= 1
CATEGORIES= math
MAINTAINER= ports@FreeBSD.org
MAINTAINER= thierry@FreeBSD.org
COMMENT= FLAME dense linear algebra library
WWW= https://github.com/flame/libflame
@ -37,8 +37,6 @@ CONFIGURE_ARGS= --enable-dynamic-build
CONFIGURE_ARGS+= --enable-max-arg-list-hack
# use libflame as a LAPACK
CONFIGURE_ARGS+= --enable-lapack2flame
# add our CFLAGS to theirs
CONFIGURE_ARGS+= --with-extra-cflags="${CFLAGS}"
# enable supermatrix
CONFIGURE_ARGS+= --enable-supermatrix
# disable ldim alignment (we cannot assume input to be aligned)
@ -72,7 +70,8 @@ CONFIGURE_ARGS+= --disable-autodetect-f77-ldflags \
--disable-autodetect-f77-name-mangling
.endif
#post-install:
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libflame.so.1.0.0
# @${MKDIR} ${STAGEDIR}${PREFIX}/include/libflame
# ${INSTALL_DATA} ${WRKSRC}/include_local/* ${STAGEDIR}/${PREFIX}/include/libflame/