diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-21 09:39:10 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-21 09:39:10 +0000 |
commit | c8db76b9feee4aaa2dbbb413a7476f28d6c0a453 (patch) | |
tree | a3f78403635fa73c5c6a4b1f1852702212c4c76d /comms/mwavem/Makefile | |
parent | f7322ffadffea76a9b94c905bab65d84f5011868 (diff) |
Notes
Diffstat (limited to 'comms/mwavem/Makefile')
-rw-r--r-- | comms/mwavem/Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/comms/mwavem/Makefile b/comms/mwavem/Makefile index 16867d816abb..3df75588168e 100644 --- a/comms/mwavem/Makefile +++ b/comms/mwavem/Makefile @@ -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" \ |