diff --git a/editors/led/Makefile b/editors/led/Makefile index f7175e4e5516..d869259dcea6 100644 --- a/editors/led/Makefile +++ b/editors/led/Makefile @@ -1,28 +1,34 @@ PORTNAME= led PORTVERSION= 2.0 PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}-editor/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Tiny text editor, with a number of useful programming features WWW= http://led-editor.sourceforge.net/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= ncurses perl5 GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes SUB_FILES= pkg-message +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -E 's,(bin|lib|data)dir),DESTDIR)$$(&,' \ ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/led \ ${STAGEDIR}${PREFIX}/lib/led/modules/perlapi.so .include