diff --git a/textproc/wv/Makefile b/textproc/wv/Makefile index a6dd4c7d7b9e..a199e5b67889 100644 --- a/textproc/wv/Makefile +++ b/textproc/wv/Makefile @@ -1,31 +1,38 @@ PORTNAME= wv PORTVERSION= 1.2.9 PORTREVISION= 7 CATEGORIES= textproc MASTER_SITES= http://www.abisource.com/downloads/wv/${PORTVERSION}/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Library and executables to access Microsoft Word files WWW= http://wvware.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libwmf.so:graphics/libwmf USES= gmake gnome jpeg pkgconfig libtool xorg USE_GNOME= libgsf -USE_XORG= x11 USE_LDCONFIG= yes +USE_XORG= x11 GNU_CONFIGURE= yes -CONFIGURE_ENV= MKDIR_P="${MKDIR}" CONFIGURE_ARGS= --with-png=${LOCALBASE} \ --with-libwmf=${LOCALBASE} +CONFIGURE_ENV= MKDIR_P="${MKDIR}" + MAKEFILE= GNUmakefile -MAKE_ARGS+= pkgconfigdir="${PREFIX}/libdata/pkgconfig" -MAKE_ARGS+= INSTALL_STRIP_FLAG="${STRIP}" +MAKE_ARGS+= pkgconfigdir="${PREFIX}/libdata/pkgconfig" \ + INSTALL_STRIP_FLAG="${STRIP}" + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif .include