1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/comms/tlf/Makefile
Jan Beich 325ba0c274 comms/tlf: unbreak build after 8e39e791b0
sendqrg.c:103:6: error: use of undeclared identifier 'FILPATHLEN'
            FILPATHLEN - 1);
            ^
sendqrg.c:120:52: error: use of undeclared identifier 'FILPATHLEN'
        strncpy(my_rig->state.pttport.pathname, ptt_file, FILPATHLEN);
                                                          ^
sendqrg.c:122:52: error: use of undeclared identifier 'FILPATHLEN'
        strncpy(my_rig->state.dcdport.pathname, dcd_file, FILPATHLEN);
                                                          ^

Reported by:	pkg-fallout
2021-12-04 14:19:37 +00:00

41 lines
1.1 KiB
Makefile

# Created by: db
PORTNAME= tlf
PORTVERSION= 1.4.1
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= comms hamradio
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 851321c0979c.patch:-p1 # https://github.com/Tlf/tlf/pull/268
PATCHFILES+= 3c48ad1c95c8.patch:-p1 # https://github.com/Tlf/tlf/pull/268
PATCHFILES+= 4302ec05ed9f.patch:-p1 # https://github.com/Tlf/tlf/pull/268
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Amateur Radio curses based logging program
LICENSE= GPLv2
LIB_DEPENDS= libargp.so:devel/argp-standalone
RUN_DEPENDS= rec:audio/sox \
wget:ftp/wget
USES= autoreconf gnome ncurses pkgconfig
USE_GITHUB= yes
USE_GNOME= glib20
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -largp" \
CPPFLAGS=-I${LOCALBASE}/include
OPTIONS_SUB= yes
OPTIONS_DEFINE= HAMLIB FLDIGI DOCS
HAMLIB_DESC= Support rig control via hamlib
FLDIGI_DESC= Support fldigi XML-RPC integration
OPTIONS_DEFAULT=HAMLIB FLDIGI
HAMLIB_LIB_DEPENDS= libhamlib.so:comms/hamlib
HAMLIB_CONFIGURE_ENABLE=hamlib
FLDIGI_LIB_DEPENDS= libxmlrpc.so:net/xmlrpc-c
FLDIGI_CONFIGURE_ENABLE=fldigi-xmlrpc
.include <bsd.port.mk>