From 16f82a503aae4a5ccde843d9cceb014c8c8ed3ce Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sat, 5 Aug 2023 20:47:15 +0200 Subject: [PATCH] biology/primer3: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- biology/primer3/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biology/primer3/Makefile b/biology/primer3/Makefile index 99a704ffc353..be1e92bb3585 100644 --- a/biology/primer3/Makefile +++ b/biology/primer3/Makefile @@ -18,7 +18,7 @@ PLIST_FILES= bin/primer3 post-patch: @${REINPLACE_CMD} \ -e 's#^CFLAGS.*#CFLAGS += \$$\(CC_OPTS\)#;' \ - -e 's#CC_OPTS = -g#CC_OPTS =#;' \ + -e 's#^CC_OPTS.*#CC_OPTS= -Wall -D__USE_FIXED_PROTOTYPES_ -Dregister=#;' \ -e 's#LDFLAGS = -g#LDFLAGS +=#;' \ -e 's#^WHITEHEAD_SPECIFIC_HACK.*##;' \ ${WRKSRC}/Makefile