biology/star: Force newer GCC on platforms with GCC 4.2 base

PR:             237700
Submitted by:   pkubaj
This commit is contained in:
Jason W. Bacon 2019-05-02 00:39:51 +00:00
parent 5917476365
commit 70dde62191
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500629

View File

@ -22,7 +22,14 @@ WRKSRC_SUBDIR= source
PLIST_FILES= bin/STAR
.include <bsd.port.pre.mk>
# Force newer compiler on platforms using GCC 4.2 as base
.if ${CHOSEN_COMPILER_TYPE} == gcc
USE_GCC= yes
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/STAR ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
.include <bsd.port.post.mk>