Skip to content

Commit

Permalink
devel/libiqxmlrpc: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Utilize USES=localbase
- Pet portclippy

Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 20, 2023
1 parent 8fda83e commit 3972be5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions devel/libiqxmlrpc/Makefile
Expand Up @@ -12,19 +12,19 @@ LICENSE= BSD2CLAUSE

LIB_DEPENDS= libboost_thread.so:devel/boost-libs

USES= cmake gnome localbase:ldflags ssl tar:bzip2
USE_CXXSTD= c++14
USE_GNOME= libxml2
USE_LDCONFIG= yes

PORTDOCS= *

OPTIONS_DEFINE= DOXYGEN DOCS

DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_CMAKE_OFF= -Dbuild_docs=off

USE_GNOME= libxml2
USES= cmake gnome ssl tar:bzip2
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes

PORTDOCS= *

post-patch:
${REINPLACE_CMD} -e 's,lib/pkgconfig,libdata/pkgconfig,' ${WRKSRC}/libiqxmlrpc/CMakeLists.txt
${REINPLACE_CMD} -e 's,share/doc/libiqxmlrpc-$${Libiqxmlrpc_VERSION},${DOCSDIR_REL},' ${WRKSRC}/doc/CMakeLists.txt
Expand Down

0 comments on commit 3972be5

Please sign in to comment.