Date: Tue, 23 Aug 2016 02:29:45 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420643 - head/cad/NASTRAN-95 Message-ID: <201608230229.u7N2Tjvb036217@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Tue Aug 23 02:29:44 2016 New Revision: 420643 URL: https://svnweb.freebsd.org/changeset/ports/420643 Log: cad/NASTRAN-95: Report version as FREEBSD rather than LINUX The maximum string length is 7 characters, so setting it to OPSYS:tu wouldn't work in all cases (e.g. DragonFly) but having NASTRAN advertise itself as a native FreeBSD program is still better in any case. PR: 211781 Submitted by: maintainer (pfg) Modified: head/cad/NASTRAN-95/Makefile Modified: head/cad/NASTRAN-95/Makefile ============================================================================== --- head/cad/NASTRAN-95/Makefile Tue Aug 23 02:08:41 2016 (r420642) +++ head/cad/NASTRAN-95/Makefile Tue Aug 23 02:29:44 2016 (r420643) @@ -3,6 +3,7 @@ PORTNAME= NASTRAN-95 PORTVERSION= 20151227 +PORTREVISION= 1 CATEGORIES= cad science MAINTAINER= pfg@FreeBSD.org @@ -29,6 +30,10 @@ pre-build: @${REINPLACE_CMD} -e 's+%%FC%%+${FC}+g ; s+%%FFLAGS%%+${FFLAGS}+g;' \ ${WRKSRC}/sb/Makefile \ ${WRKSRC}/um/Makefile +# Version string limited to 7 characters so ${OPSYS:tu} would result in +# "DRAGONF VERSON" for DF. It's best to leave it hardcoded to FreeBSD + @${REINPLACE_CMD} -e 's+LINUX +FREEBSD+g;' \ + ${WRKSRC}/sb/btstrp.f do-build: @(cd ${WRKSRC}/sb; ${MAKE_CMD} ${ALL_TARGET})
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608230229.u7N2Tjvb036217>