aboutsummaryrefslogtreecommitdiff
path: root/textproc/discount/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/discount/Makefile')
-rw-r--r--textproc/discount/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/textproc/discount/Makefile b/textproc/discount/Makefile
index bec1db4494e5..a49535c576db 100644
--- a/textproc/discount/Makefile
+++ b/textproc/discount/Makefile
@@ -38,6 +38,12 @@ EXTRA_CONFIGURE_ON= --with-dl=both --with-fenced-code --with-github-tags --with-
SAMPLES_INSTALL_TARGET= install.samples
TAB8_CONFIGURE_ON= --with-tabstops=8
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
post-install:
${INSTALL_DATA} ${WRKSRC}/libmarkdown.a ${STAGEDIR}${PREFIX}/lib/libmarkdown.a
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmarkdown.so