mirror of
https://git.freebsd.org/ports.git
synced 2025-06-12 08:10:31 -04:00
Build with --enable-threads=no by default to get around the libc_r
weirdness. Reviewed by: sobomax (MAINTAINER of java/jdk12-beta)
This commit is contained in:
parent
1734dc1d1b
commit
1b0bda1dfd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44646
1 changed files with 12 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= unixODBC
|
PORTNAME= unixODBC
|
||||||
PORTVERSION= 2.0.7
|
PORTVERSION= 2.0.7
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= http://www.unixodbc.org/
|
MASTER_SITES= http://www.unixodbc.org/
|
||||||
|
|
||||||
|
@ -33,9 +34,19 @@ CONFIGURE_ARGS+= --disable-gui
|
||||||
PLIST_SUB= GUI:="@comment "
|
PLIST_SUB= GUI:="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_PTHREAD)
|
||||||
|
CONFIGURE_ARGS+= --enable-threads=yes
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --enable-threads=no
|
||||||
|
.endif
|
||||||
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
|
.if defined(WITH_PTHREAD)
|
||||||
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
||||||
s|-lqt|-lqt2|g' ${WRKSRC}/configure
|
s|-lqt|-lqt2-mt|g' ${WRKSRC}/configure
|
||||||
|
.else
|
||||||
|
@${PERL} -pi -e 's|-lqt|-lqt2|g' ${WRKSRC}/configure
|
||||||
|
.endif
|
||||||
@${PERL} -pi -e 's| -lc||g' ${WRKSRC}/ltmain.sh
|
@${PERL} -pi -e 's| -lc||g' ${WRKSRC}/ltmain.sh
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
|
|
Loading…
Add table
Reference in a new issue