summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/mgdiff/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/textproc/mgdiff/Makefile b/textproc/mgdiff/Makefile
index 82fabb58ed79..062925748c92 100644
--- a/textproc/mgdiff/Makefile
+++ b/textproc/mgdiff/Makefile
@@ -21,6 +21,12 @@ DESKTOP_ENTRIES= "mgdiff" "GUI front end to the UNIX diff command" \
"mgdiff" "GNOME;GTK;Motif;Development;System;" \
false
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps
${INSTALL_DATA} ${FILESDIR}/mgdiff-48x48.xpm ${STAGEDIR}${PREFIX}/share/pixmaps