git: 379142d107c1 - main - cad/pcb-rnd: chase commit 512d100d0325 (cad/librnd)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Sep 2023 03:28:26 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=379142d107c1e5557040191c9911e14038dc52da
commit 379142d107c1e5557040191c9911e14038dc52da
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-09-07 03:27:46 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-09-07 03:27:46 +0000
cad/pcb-rnd: chase commit 512d100d0325 (cad/librnd)
Do not pull another whole compiler suite just to unbreak
the port's build on -CURRENT when there is a better way.
Fixes: 1f3fdcf53843
---
cad/pcb-rnd/Makefile | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/cad/pcb-rnd/Makefile b/cad/pcb-rnd/Makefile
index 7440713ed310..d4c6df4588ee 100644
--- a/cad/pcb-rnd/Makefile
+++ b/cad/pcb-rnd/Makefile
@@ -30,19 +30,14 @@ BINARY_ALIAS= make=${MAKE_CMD}
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
-USES+= llvm:max=15
-CC= clang${LLVM_VERSION}
-CPP= clang-cpp${LLVM_VERSION}
-CXX= clang++${LLVM_VERSION}
-.endif
-
post-install:
.for f in pcb-rnd txt2bxl bxl2txt gsch2pcb-rnd
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/$f
.endfor
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pcb-rnd/plugins/*.so
+post-patch:
+ @${ECHO_CMD} 'USER_CFLAGS += -DSCCONFIG_ACCEPT_IMPLICIT' \
+ >> ${WRKSRC}/scconfig/Makefile
+
.include <bsd.port.mk>