diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-09-08 09:19:13 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-09-08 09:19:13 +0000 |
commit | 33e757145d42a8862609c4520401c1530e553557 (patch) | |
tree | f1eef0fa8ee3ee0e6bc3c792cf308129ef09326b /textproc/scim-bridge/Makefile | |
parent | a5301dea84a31edaefb235faaccd79b8f2a75b59 (diff) | |
download | ports-33e757145d42a8862609c4520401c1530e553557.tar.gz ports-33e757145d42a8862609c4520401c1530e553557.zip |
Notes
Diffstat (limited to 'textproc/scim-bridge/Makefile')
-rw-r--r-- | textproc/scim-bridge/Makefile | 10 |
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> |