git: 35c100fff530 - main - editors/imhex: Remove CC/CPP/CXX exports
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Sep 2023 19:05:19 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=35c100fff530a6006bfd86ed0d77de47f8131b95
commit 35c100fff530a6006bfd86ed0d77de47f8131b95
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-09-29 18:48:39 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-09-29 19:05:07 +0000
editors/imhex: Remove CC/CPP/CXX exports
- USES=llvm now by default exports CC/CPP/CXX so remove those
- Utilize USES=localbase
Approved by: portmgr (blanket)
---
editors/imhex/Makefile | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/editors/imhex/Makefile b/editors/imhex/Makefile
index dd72a64bc076..8074a2aed6e5 100644
--- a/editors/imhex/Makefile
+++ b/editors/imhex/Makefile
@@ -40,7 +40,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libmbedtls.so:security/mbedtls \
libtre.so:textproc/libtre
-USES= cmake desktop-file-utils gl gnome llvm:min=16,build pkgconfig python xorg
+USES= cmake desktop-file-utils gl gnome llvm:min=16,build localbase pkgconfig python xorg
USE_GL= gl glu
USE_GNOME= cairo gdkpixbuf2 gtk30
USE_XORG= x11 xcb xau xdmcp
@@ -70,11 +70,7 @@ GH_TAG_NATIVEFILEDIALOG= 7909f55
GH_TAG_PATTERN_LANGUAGE= 57dc02b
GH_TAG_YARA= 96790e5
-CC= ${LOCALBASE}/bin/clang16
-CXX= ${LOCALBASE}/bin/clang++16
-CFLAGS+= -I${LOCALBASE}/include
-CXXFLAGS+= -I${LOCALBASE}/include \
- -I${WRKSRC}/lib/external/pattern_language/generators/include \
+CXXFLAGS+= -I${WRKSRC}/lib/external/pattern_language/generators/include \
-Wno-error=deprecated-declarations \
-Wno-error=literal-conversion