aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-11-07 01:00:38 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-11-07 01:00:38 +0800
commitda9d7b830b75061e51b6b95d04c907ed137806fa (patch)
treee9c303f1ff0b8408d2c896ff2dd9c8e11d945323 /textproc
parent121aa82cdc5e3a42ed06573ce9ba363210cf3f33 (diff)
downloadfreebsd-ports-gnome-da9d7b830b75061e51b6b95d04c907ed137806fa.tar.gz
freebsd-ports-gnome-da9d7b830b75061e51b6b95d04c907ed137806fa.tar.zst
freebsd-ports-gnome-da9d7b830b75061e51b6b95d04c907ed137806fa.zip
- Expand always-true OSVERSION condition
Approved by: portmgr blanket
Diffstat (limited to 'textproc')
-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>