Changeset View
Changeset View
Standalone View
Standalone View
science/simlib/Makefile
Show All 18 Lines | |||||
CXXFLAGS+= -fPIC | CXXFLAGS+= -fPIC | ||||
NOT_FOR_ARCHS= aarch64 armv6 armv7 mips mips64 powerpc powerpc64 sparc64 | NOT_FOR_ARCHS= aarch64 armv6 armv7 mips mips64 powerpc powerpc64 sparc64 | ||||
NOT_FOR_ARCHS_REASON= contains not working ${ARCH}-dependent assembly code | NOT_FOR_ARCHS_REASON= contains not working ${ARCH}-dependent assembly code | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1101000 | .if ${OPSYS} == FreeBSD | ||||
# nm crashes during the build: | # nm crashes during the build: | ||||
# Assertion failed: (ddata->output.size > 0), function cpp_demangle_read_sname, file /usr/src/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c, line 2137. | # Assertion failed: (ddata->output.size > 0), function cpp_demangle_read_sname, file /usr/src/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c, line 2137. | ||||
USE_BINUTILS= yes | USE_BINUTILS= yes | ||||
BINARY_ALIAS= nm=${NM} | BINARY_ALIAS= nm=${NM} | ||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|make|gmake|g' ${WRKSRC}/Makefile | @${REINPLACE_CMD} -e 's|make|gmake|g' ${WRKSRC}/Makefile | ||||
Show All 14 Lines |