Mercurial > hgrepos > FreeBSD > ports > net-mgmt > prometheus-client-c
comparison Makefile @ 10:40cf179a620e
FIX: Allow to build with clang/cc instead of gcc.
CMakeLists.txt needed proper tewaking.
Also assume that libprom.so is already installed (header and lib) into
/usr/local/{include,lib}.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 18 Mar 2025 20:37:29 +0100 |
| parents | 4746e1c5cb56 |
| children |
comparison
equal
deleted
inserted
replaced
| 9:4746e1c5cb56 | 10:40cf179a620e |
|---|---|
| 17 GH_TAGNAME= v${DISTVERSION} | 17 GH_TAGNAME= v${DISTVERSION} |
| 18 | 18 |
| 19 LIB_DEPENDS= libprom.so:net-mgmt/prometheus-client-c-libprom \ | 19 LIB_DEPENDS= libprom.so:net-mgmt/prometheus-client-c-libprom \ |
| 20 libmicrohttpd.so:www/libmicrohttpd | 20 libmicrohttpd.so:www/libmicrohttpd |
| 21 | 21 |
| 22 # Currently compilation errors on incompatible types with clang | |
| 23 USE_GCC= yes | |
| 24 USE_LDCONFIG= yes | 22 USE_LDCONFIG= yes |
| 25 | 23 |
| 26 CMAKE_SOURCE_PATH= ${WRKSRC}/promhttp | 24 CMAKE_SOURCE_PATH= ${WRKSRC}/promhttp |
| 27 | 25 |
| 28 do-install: | 26 do-install: |
