diff --git a/astro/foxtrotgps/Makefile b/astro/foxtrotgps/Makefile index 0d92867d44fe..21b3a0d89fec 100644 --- a/astro/foxtrotgps/Makefile +++ b/astro/foxtrotgps/Makefile @@ -1,39 +1,45 @@ PORTNAME= foxtrotgps PORTVERSION= 1.2.2 PORTREVISION= 5 CATEGORIES= astro geography MASTER_SITES= http://www.foxtrotgps.org/releases/ MAINTAINER= crwhipp@gmail.com COMMENT= Lightweight opensource gps moving map application WWW= https://www.foxtrotgps.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ libexif.so:graphics/libexif \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgps.so:astro/gpsd \ libsoup-2.4.so:devel/libsoup USES= compiler:c++11-lang gettext gmake gnome pkgconfig python \ shebangfix sqlite:3 USE_GNOME= cairo gtk20 intltool libglade2 libxml2 GLIB_SCHEMAS= org.foxtrotgps.gschema.xml SHEBANG_FILES= contrib/convert2gpx \ contrib/convert2osm \ contrib/georss2foxtrotgps-poi\ contrib/gpx2osm \ contrib/osb2foxtrot \ contrib/poi2osm GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-schemas-install CONFIGURE_ENV= DATADIRNAME=share INFO= foxtrotgps -.include +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + +.include