aboutsummaryrefslogtreecommitdiff
path: root/textproc/scim-bridge/Makefile
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-09-08 09:19:13 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-09-08 09:19:13 +0000
commit33e757145d42a8862609c4520401c1530e553557 (patch)
treef1eef0fa8ee3ee0e6bc3c792cf308129ef09326b /textproc/scim-bridge/Makefile
parenta5301dea84a31edaefb235faaccd79b8f2a75b59 (diff)
downloadports-33e757145d42a8862609c4520401c1530e553557.tar.gz
ports-33e757145d42a8862609c4520401c1530e553557.zip
Notes
Diffstat (limited to 'textproc/scim-bridge/Makefile')
-rw-r--r--textproc/scim-bridge/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/textproc/scim-bridge/Makefile b/textproc/scim-bridge/Makefile
index e2049cb97bc5..e1eb7aceabfc 100644
--- a/textproc/scim-bridge/Makefile
+++ b/textproc/scim-bridge/Makefile
@@ -30,10 +30,18 @@ CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE} \
PLIST_FILES= bin/scim-bridge
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD
+.if ( ${OSVERSION} >= 1101513 && ${OSVERSION} < 1200000 ) || ${OSVERSION} >= 1200060
+BROKEN= fails to compile with clang6 or later
+.endif
+.endif
+
post-patch:
@${GREP} -lR "<malloc\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|<malloc\.h>|<stdlib.h>|g'
@${GREP} -lR "<alloca\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|<alloca\.h>|<stdlib.h>|g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>