mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Try to unbreak for freebsd > 10.x
This commit is contained in:
parent
0efda35f40
commit
f5af979eff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334739
@ -38,8 +38,13 @@ CONFIGURE_ENV= OPENSSL_LIBS="-L/usr/lib -ssl -crypto" OPENSSL_CFLAGS="-I/usr/inc
|
||||
|
||||
CONFIGURE_ARGS+= --disable-debug
|
||||
|
||||
# Workaround to build on > 10.x
|
||||
.if ${OSVERSION} >= 1000000
|
||||
USE_GCC= yes
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/-O3/${CFLAGS}/' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/configure
|
||||
|
||||
.if ${PORT_OPTIONS:MKQUEUE}
|
||||
CONFIGURE_ARGS+= --with-kqueue
|
||||
|
@ -36,6 +36,12 @@ NO_STAGE= yes
|
||||
BROKEN= Does not configure on arm
|
||||
.endif
|
||||
|
||||
# Workaround to build and segfault on > 10.x
|
||||
.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1000000
|
||||
USE_GCC= yes
|
||||
LDFLAGS+= -lc++
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MXMLRPC}
|
||||
CONFIGURE_ARGS+= --with-xmlrpc-c
|
||||
LIB_DEPENDS+= xmlrpc:${PORTSDIR}/net/xmlrpc-c-devel
|
||||
|
Loading…
Reference in New Issue
Block a user