git: 16f82a503aae - main - biology/primer3: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 05 Aug 2023 18:56:03 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=16f82a503aae4a5ccde843d9cceb014c8c8ed3ce

commit 16f82a503aae4a5ccde843d9cceb014c8c8ed3ce
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-05 18:47:15 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-05 18:55:50 +0000

    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