svn commit: r516146 - head/math/openblas
Gleb Popov
arrowd at FreeBSD.org
Thu Oct 31 13:21:46 UTC 2019
Author: arrowd
Date: Thu Oct 31 13:21:45 2019
New Revision: 516146
URL: https://svnweb.freebsd.org/changeset/ports/516146
Log:
math/openblas: Fix build with DYNAMIC_ARCH=OFF.
PR: 238228
Submitted by: Artyom Davidov <ard_1 at mail.ru>
Modified:
head/math/openblas/Makefile
head/math/openblas/pkg-plist
Modified: head/math/openblas/Makefile
==============================================================================
--- head/math/openblas/Makefile Thu Oct 31 12:19:09 2019 (r516145)
+++ head/math/openblas/Makefile Thu Oct 31 13:21:45 2019 (r516146)
@@ -85,6 +85,9 @@ MANUAL_PACKAGE_BUILD= Optimizes for the build machine.
.if ${PORT_OPTIONS:MDYNAMIC_ARCH}
BUILDFLAGS+= DYNAMIC_ARCH=1
+PLIST_SUB+= DYNARCH=""
+.else
+PLIST_SUB+= DYNARCH="@comment "
.endif
.if ${PORT_OPTIONS:MINTERFACE64}
@@ -201,7 +204,10 @@ do-install:
${WRKSRC}/interface/*.c
${MKDIR} ${STAGEDIR}${PREFIX}/include/openblas
${INSTALL_DATA} ${WRKSRC}/openblas_*.h ${STAGEDIR}${PREFIX}/include/openblas
- ${INSTALL_DATA} ${WRKSRC}/cblas.h ${WRKSRC}/config_kernel.h ${WRKSRC}/config_last.h ${WRKSRC}/l1param.h ${WRKSRC}/l2param.h ${WRKSRC}/symcopy.h \
+ ${INSTALL_DATA} ${WRKSRC}/cblas.h ${WRKSRC}/config_last.h ${WRKSRC}/l1param.h ${WRKSRC}/l2param.h ${WRKSRC}/symcopy.h \
${STAGEDIR}${PREFIX}/include/openblas
+
+do-install-DYNAMIC_ARCH-on:
+ ${INSTALL_DATA} ${WRKSRC}/config_kernel.h ${STAGEDIR}${PREFIX}/include/openblas
.include <bsd.port.mk>
Modified: head/math/openblas/pkg-plist
==============================================================================
--- head/math/openblas/pkg-plist Thu Oct 31 12:19:09 2019 (r516145)
+++ head/math/openblas/pkg-plist Thu Oct 31 13:21:45 2019 (r516146)
@@ -29,7 +29,7 @@ include/openblas/openblas_common_x86_64.h
include/openblas/openblas_common_z.h
include/openblas/openblas_common_zarch.h
include/openblas/openblas_config.h
-include/openblas/config_kernel.h
+%%DYNARCH%%include/openblas/config_kernel.h
include/openblas/config_last.h
include/openblas/openblas_cpuid.h
include/openblas/l1param.h
More information about the svn-ports-all
mailing list