mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
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)
This commit is contained in:
parent
79c73adb14
commit
0daca071e2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420643
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user