Skip to content

Commit

Permalink
math/lemon: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jun 26, 2023
1 parent e48d5a4 commit faa87e8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions math/lemon/Makefile
Expand Up @@ -32,6 +32,12 @@ GLPK_DESC= Build with GLPK solver
GLPK_CMAKE_BOOL= LEMON_ENABLE_GLPK
GLPK_LIB_DEPENDS= libglpk.so:math/glpk

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CXXFLAGS+= -Dregister=
.endif

post-install:
@${RM} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-0.x-to-1.x.sh

Expand Down

0 comments on commit faa87e8

Please sign in to comment.