Skip to content

Commit

Permalink
science/gabedit: Limit BROKEN_riscv64 to pre-13.1 systems
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Jul 16, 2022
1 parent aacc620 commit 7f2c0ee
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions science/gabedit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/License
BROKEN_armv6= fatal error: 'omp.h' file not found
BROKEN_armv7= fatal error: 'omp.h' file not found
BROKEN_i386= undefined reference to `__atomic_load'
BROKEN_riscv64= fatal error: 'omp.h' file not found
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
Expand Down Expand Up @@ -42,6 +41,12 @@ OPTIONS_DEFINE= OPENMP
OPTIONS_DEFAULT= OPENMP
OPTIONS_EXCLUDE_powerpc= OPENMP
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 1301000
BROKEN_riscv64= fatal error: 'omp.h' file not found
.endif
post-patch:
@${REINPLACE_CMD} 's|/usr/|${PREFIX}/|; s| -O2| ${CFLAGS}|; s|gcc|${CC}|' ${WRKSRC}/CONFIG
Expand All @@ -56,4 +61,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/icons/Gabedit${SZ}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps/${PORTNAME}.png
.endfor
.include <bsd.port.mk>
.include <bsd.port.post.mk>

0 comments on commit 7f2c0ee

Please sign in to comment.