mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Expand always-true OSVERSION condition
Approved by: portmgr blanket
This commit is contained in:
parent
93d4f23285
commit
26bc63c97d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484308
1 changed files with 3 additions and 9 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue