mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
liblthread.so.3 is used with GCC3
liblthread.so.2 is used with GCC2 Noticed on: bento
This commit is contained in:
parent
f7322ffadf
commit
c8db76b9fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70653
@ -15,8 +15,6 @@ EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= oberman@es.net
|
||||
|
||||
LIB_DEPENDS= lthread.2:${PORTSDIR}/devel/linuxthreads
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
@ -26,6 +24,21 @@ SLEEP= /bin/sleep
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
LTHREADVERSION=2
|
||||
.if ${OSVERSION} >= 500035
|
||||
LTHREADVERSION= 3
|
||||
.endif
|
||||
.if ${CC:Mgcc30}!=""
|
||||
LTHREADVERSION= 3
|
||||
.endif
|
||||
.if ${CC:Mgcc31}!=""
|
||||
LTHREADVERSION= 3
|
||||
.endif
|
||||
.if ${CC:Mgcc32}!=""
|
||||
LTHREADVERSION= 3
|
||||
.endif
|
||||
LIB_DEPENDS= lthread.${LTHREADVERSION}:${PORTSDIR}/devel/linuxthreads
|
||||
|
||||
pre-build:
|
||||
${PERL} -pi.orig -e "s@ /modules@ ${PREFIX}/share/mwavem@g" ${WRKSRC}/src/drivers/Makefile
|
||||
${PERL} -pi.orig -e "s@#include <malloc.h>\n@@g" \
|
||||
|
Loading…
Reference in New Issue
Block a user