diff --git a/textproc/augeas/Makefile b/textproc/augeas/Makefile index ec9ea9f669c0..b2ea1b26e647 100644 --- a/textproc/augeas/Makefile +++ b/textproc/augeas/Makefile @@ -1,32 +1,39 @@ PORTNAME= augeas DISTVERSION= 1.14.0 CATEGORIES= textproc MASTER_SITES= https://github.com/hercules-team/augeas/releases/download/release-${DISTVERSION}/ MAINTAINER= puppet@FreeBSD.org COMMENT= Configuration editing tool WWW= https://augeas.net/ LICENSE= LGPL21 TEST_DEPENDS= bash:shells/bash \ gsed:textproc/gsed USES= autoreconf cpe gmake gnome libtool pathfix pkgconfig readline USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes + INSTALL_TARGET= install-strip LENSESDIR= ${PREFIX}/share/augeas/lenses +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+=-Wno-error=int-conversion +.endif + post-patch: @${REINPLACE_CMD} -e 's:/bin/bash:/usr/bin/env bash:' ${WRKSRC}/tests/*.sh @${REINPLACE_CMD} -e 's:sed:gsed:' ${WRKSRC}/tests/test-augtool.sh @${REINPLACE_CMD} -e 's:/usr/local:${LOCALBASE}:' \ ${WRKSRC}/lenses/puppet.aug \ ${WRKSRC}/lenses/puppet_auth.aug \ ${WRKSRC}/lenses/puppetfileserver.aug -.include +.include