1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/comms/xlog/Makefile
Muhammad Moinur Rahman 9b178ffd7e */*: llvm15 build fixes
llvm15 was also merged into 13.2-STABLE effective from OSVERSION
1302505. Fix the ports that failed to build with llvm15.

Approved by:	portmgr (blanket)
2023-05-17 18:30:15 +02:00

43 lines
998 B
Makefile

PORTNAME= xlog
DISTVERSION= 2.0.24
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= SAVANNAH
MAINTAINER= bofh@FreeBSD.org
COMMENT= Amateur Radio logging application
WWW= https://xlog.nongnu.org/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libhamlib.so:comms/hamlib \
libharfbuzz.so:print/harfbuzz \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= compiler:c11 gnome pkgconfig shared-mime-info
USE_GNOME= cairo gdkpixbuf2 gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-mime-update
CONFIGURE_ENV+= ac_cv_c_compiler_gnu=no
DESKTOP_ENTRIES="${PORTNAME}" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "Utility;" false
OPTIONS_DEFINE= NLS DOCS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_OFF= --disable-nls
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=deprecated-non-prototype
.endif
.include <bsd.port.post.mk>