Index: head/science/simlib/Makefile =================================================================== --- head/science/simlib/Makefile (revision 474138) +++ head/science/simlib/Makefile (revision 474139) @@ -1,38 +1,47 @@ # Created by: Pav Lucistnik # $FreeBSD$ PORTNAME= simlib PORTVERSION= 3.02 PORTREVISION= 1 CATEGORIES= science MASTER_SITES= http://www.fit.vutbr.cz/~peringer/SIMLIB/source/ DISTNAME= ${PORTNAME}-${PORTVERSION}-20111030 MAINTAINER= ports@FreeBSD.org COMMENT= SIMulation LIBrary for C++ programming language USES= gmake USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME} CXXFLAGS+= -fPIC NOT_FOR_ARCHS= aarch64 armv6 armv7 mips mips64 powerpc powerpc64 sparc64 NOT_FOR_ARCHS_REASON= contains not working ${ARCH}-dependent assembly code +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1101000 +# 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. +USE_BINUTILS= yes +BINARY_ALIAS= nm=${NM} +.endif + post-patch: @${REINPLACE_CMD} -e 's|make|gmake|g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \ ${WRKSRC}/src/Makefile.generic @${REINPLACE_CMD} -e 's#g++#${CXX}#g' \ ${WRKSRC}/src/Makefile.FreeBSD-i386 \ ${WRKSRC}/examples/Makefile.FreeBSD-i386 \ ${WRKSRC}/tests/Makefile.FreeBSD-i386 @${MV} ${WRKSRC}/src/Makefile.FreeBSD-i386 ${WRKSRC}/src/Makefile @${MV} ${WRKSRC}/examples/Makefile.FreeBSD-i386 ${WRKSRC}/examples/Makefile @${MV} ${WRKSRC}/tests/Makefile.FreeBSD-i386 ${WRKSRC}/tests/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsimlib.so .include Index: head/science/simlib/files/patch-src_errors.txt =================================================================== --- head/science/simlib/files/patch-src_errors.txt (nonexistent) +++ head/science/simlib/files/patch-src_errors.txt (revision 474139) @@ -0,0 +1,13 @@ +src/errors.txt is used to generate src/errors.cc + +--- src/errors.txt.orig 2018-07-07 20:48:53 UTC ++++ src/errors.txt +@@ -14,7 +14,7 @@ _ErrMsg(_ErrEnum) + + //////////////////////////////////////////////////////////////////////////// + +-Copyright SIMLIB/C++ Simulation Library, "SIMLIB_COPYRIGHT" ++Copyright SIMLIB/C++ Simulation Library, " SIMLIB_COPYRIGHT " + UnknownError Undocumented error + InternalError Internal error + MemoryError No memory Property changes on: head/science/simlib/files/patch-src_errors.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property