diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-25 23:33:24 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-26 00:09:47 +0000 |
commit | faa87e834fd3859834bda99caebaa718b344b73d (patch) | |
tree | c3cd78bc2f293b968a9c628618bc43ba8d5fca9b /math/lemon | |
parent | e48d5a4dfb8cf0d9a4dc081d02dab1854eb125f3 (diff) | |
download | ports-faa87e834fd3859834bda99caebaa718b344b73d.tar.gz ports-faa87e834fd3859834bda99caebaa718b344b73d.zip |
math/lemon: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'math/lemon')
-rw-r--r-- | math/lemon/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/math/lemon/Makefile b/math/lemon/Makefile index 81e0e02ab335..a695e8fc07c1 100644 --- a/math/lemon/Makefile +++ b/math/lemon/Makefile @@ -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 |