freebsd-ports/ftp/gftp/Makefile
Brooks Davis 16a06ea402 Work around the lack of definition of union semun per POSIX.
When feasible do this by adding -D_WANT_SEMUN to CFLAGS or CXXFLAGS.
Where this fails due to ports not honoring C*FLAGS, patch using
__FreeBSD_version to enable the definition.

PR:		224300, 224443 (exp-run)
Approved by:	portmgr (antoine)
Exp-run:	antoine
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D14137
2018-03-02 22:34:53 +00:00

27 lines
488 B
Makefile

# Created by: Damjan Marion <dmarion@open.hr>
# $FreeBSD$
PORTNAME= gftp
PORTVERSION= 2.0.19
PORTREVISION= 6
CATEGORIES= ftp
MASTER_SITES= http://gftp.seul.org/
MAINTAINER= oliver@FreeBSD.org
COMMENT= Free multithreaded GTK-based FTP and SFTP client
LICENSE= GPLv2
USES= pathfix pkgconfig tar:bzip2 ssl
GNU_CONFIGURE= yes
USE_GNOME= glib20 gtk20
CFLAGS+= -D_WANT_SEMUN
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_OFF= --disable-nls
.include <bsd.port.mk>