diff options
author | marino <marino@FreeBSD.org> | 2016-08-23 10:29:44 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-08-23 10:29:44 +0800 |
commit | 7e8792501029ecb2cc302b4d483fe3dc4a69878d (patch) | |
tree | d8729404c3a3652a7526802862307539c7cf12fb /cad | |
parent | e90f298e276bc1e937ca707e26f712ced63ce0d4 (diff) | |
download | freebsd-ports-gnome-7e8792501029ecb2cc302b4d483fe3dc4a69878d.tar.gz freebsd-ports-gnome-7e8792501029ecb2cc302b4d483fe3dc4a69878d.tar.zst freebsd-ports-gnome-7e8792501029ecb2cc302b4d483fe3dc4a69878d.zip |
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)
Diffstat (limited to 'cad')
-rw-r--r-- | cad/NASTRAN-95/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cad/NASTRAN-95/Makefile b/cad/NASTRAN-95/Makefile index 94ed456231ce..1a6af2ea5fbc 100644 --- a/cad/NASTRAN-95/Makefile +++ b/cad/NASTRAN-95/Makefile @@ -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}) |