diff --git a/textproc/rman/Makefile b/textproc/rman/Makefile index 559ad3cb4c9f..e39d7c96a0f2 100644 --- a/textproc/rman/Makefile +++ b/textproc/rman/Makefile @@ -1,17 +1,23 @@ PORTNAME= rman PORTVERSION= 3.2 CATEGORIES= textproc MASTER_SITES= SF/polyglotman/polyglotman/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Reverse compile man pages from formatted form MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \ BINDIR="${PREFIX}/bin" MANDIR="${MAN1PREFIX}/man/man1" PLIST_FILES= bin/rman man/man1/rman.1.gz +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rman .include