diff --git a/x11-toolkits/xmhtml/Makefile b/x11-toolkits/xmhtml/Makefile index 6fba345843349..409035c88147c 100644 --- a/x11-toolkits/xmhtml/Makefile +++ b/x11-toolkits/xmhtml/Makefile @@ -3,7 +3,7 @@ PORTVERSION= 1.1.10 CATEGORIES= x11-toolkits www MASTER_SITES= SF/${PORTNAME:tl} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Motif widget set for displaying HTML 3.2 documents WWW= https://sourceforge.net/projects/xmhtml/ @@ -13,14 +13,21 @@ LICENSE_FILE= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libpng.so:graphics/png USES= gmake jpeg libtool:build motif pkgconfig tar:tgz xorg -USE_XORG= xft xmu xpm xt USE_LDCONFIG= yes +USE_XORG= xft xmu xpm xt -LIBTOOL= libtool MAKE_ENV= LIBTOOL=${LIBTOOL} OPTIONS_DEFINE= DOCS EXAMPLES +LIBTOOL= libtool + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + do-install: (cd ${WRKSRC}/lib && ${LIBTOOL} --mode=install ${INSTALL_DATA} \ libXmHTML.la ${STAGEDIR}${PREFIX}/lib)