Skip to content

Commit

Permalink
editors/imhex: Remove CC/CPP/CXX exports
Browse files Browse the repository at this point in the history
- USES=llvm now by default exports CC/CPP/CXX so remove those
- Utilize USES=localbase

Approved by:	portmgr (blanket)
  • Loading branch information
5u623l20 committed Sep 29, 2023
1 parent f5461d3 commit 35c100f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions editors/imhex/Makefile
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 35c100f

Please sign in to comment.