[Bug 243739] math/openblas: port build only successful with option DYNAMIC_ARCH set

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 31 10:02:01 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243739

--- Comment #6 from Walter Schwarzenfeld <w.schwarzenfeld at utanet.at> ---
(In reply to Tatsuki Makino from comment #4)
Or maybe, we can do something like this:

post-install:
.if !${PORT_OPTIONS:MDYNAMIC_ARCH}
        ${MV} ${STAGEDIR}${PREFIX}/lib/libopenblas_*-r${PORTVERSION}.a \
                 ${STAGEDIR}${PREFIX}/lib/libopenblasp-r${PORTVERSION}.a
        ${MV} ${STAGEDIR}${PREFIX}/lib/libopenblas_*-r${PORTVERSION}.so \
                 ${STAGEDIR}${PREFIX}/lib/libopenblasp-r${PORTVERSION}.so
        ${RM} ${STAGEDIR}${PREFIX}/lib/libopenblas.a
        ${RM} ${STAGEDIR}${PREFIX}/lib/libopenblas.so
        ${LN} -sf libopenblasp-r${PORTVERSION}.a \
                ${STAGEDIR}${PREFIX}/lib/libopenblas.a
        ${LN} -sf libopenblasp-r${PORTVERSION}.so \
                ${STAGEDIR}${PREFIX}/lib/libopenblas.so
.endif

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list