- Forgot to remove one conditional about PTHREAD_LIB on last commit
This commit is contained in:
parent
e4e0822bc9
commit
102398f45a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214598
2 changed files with 8 additions and 16 deletions
|
@ -59,6 +59,10 @@ CPPFLAGS+= -I${LOCALBASE}/include \
|
|||
LDFLAGS+= -L${LOCALBASE}/lib \
|
||||
${PTHREAD_LIBS}
|
||||
|
||||
# This port has a problem with -pthread,
|
||||
# force to use -lthr until it's not fixed.
|
||||
PTHREAD_LIBS= -lthr
|
||||
|
||||
MAN1= clamconf.1 \
|
||||
clamscan.1 \
|
||||
freshclam.1 \
|
||||
|
@ -103,14 +107,6 @@ PLIST_SUB+= CLAMAVUSER=${CLAMAVUSER} \
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# This port has a problem with -pthread,
|
||||
# force to use -lthr until it's not fixed.
|
||||
.if ${OSVERSION} >= 601000
|
||||
PTHREAD_LIBS= -lthr
|
||||
.else
|
||||
PTHREAD_LIBS= -lpthread
|
||||
.endif
|
||||
|
||||
.if defined(WITH_ARC)
|
||||
RUN_DEPENDS+= arc:${PORTSDIR}/archivers/arc
|
||||
.endif
|
||||
|
|
|
@ -54,6 +54,10 @@ CPPFLAGS+= -I${LOCALBASE}/include \
|
|||
LDFLAGS+= -L${LOCALBASE}/lib \
|
||||
${PTHREAD_LIBS}
|
||||
|
||||
# This port has a problem with -pthread,
|
||||
# force to use -lthr until it's not fixed.
|
||||
PTHREAD_LIBS= -lthr
|
||||
|
||||
MAN1= clamconf.1 \
|
||||
clamscan.1 \
|
||||
freshclam.1 \
|
||||
|
@ -98,14 +102,6 @@ PLIST_SUB+= CLAMAVUSER=${CLAMAVUSER} \
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# This port has a problem with -pthread,
|
||||
# force to use -lthr until it's not fixed.
|
||||
.if ${OSVERSION} >= 601000
|
||||
PTHREAD_LIBS= -lthr
|
||||
.else
|
||||
PTHREAD_LIBS= -lpthread
|
||||
.endif
|
||||
|
||||
.if defined(WITH_ARC)
|
||||
RUN_DEPENDS+= arc:${PORTSDIR}/archivers/arc
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue