Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2023 18:56:03 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 16f82a503aae - main - biology/primer3: Fix build with llvm16
Message-ID:  <202308051856.375Iu386075846@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308051856.375Iu386075846>