1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

biology/primer3: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-08-05 20:47:15 +02:00
parent 697edca603
commit 16f82a503a

View File

@ -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