aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/scim-bridge
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/scim-bridge')
-rw-r--r--textproc/scim-bridge/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/textproc/scim-bridge/Makefile b/textproc/scim-bridge/Makefile
index e1eb7aceabfc..3a6407f29285 100644
--- a/textproc/scim-bridge/Makefile
+++ b/textproc/scim-bridge/Makefile
@@ -14,6 +14,8 @@ LICENSE_COMB= dual
LICENSE_FILE_GPLv2= ${WRKSRC}/doc/LICENSE.GPL
LICENSE_FILE_LGPL21= ${WRKSRC}/doc/LICENSE.LGPL
+BROKEN_FreeBSD= fails to compile with clang6 or later
+
LIB_DEPENDS= libscim-1.0.so:textproc/scim
USES= gettext gmake pkgconfig
@@ -30,18 +32,10 @@ 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.post.mk>
+.include <bsd.port.mk>