Update LIB_DEPENDS to spf2.2

Add ${PTHREAD_LIBS} when use mail/libspf2

PR:		85000
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
No objections from:	krion (maintaier)
This commit is contained in:
Vsevolod Stakhov 2005-09-11 21:40:21 +00:00
parent 504d6d5254
commit 6df7facf60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142481

View File

@ -473,9 +473,9 @@ SEDLIST+= -e 's,^(ALT_CONFIG_PREFIX=),\# \1,'
.endif
.if defined(WITH_SPF)
LIB_DEPENDS+= spf2.1:${PORTSDIR}/mail/libspf2
LIB_DEPENDS+= spf2.2:${PORTSDIR}/mail/libspf2
SEDLIST+= -e 's,XX_SPF_FLAGS_XX,-DSPF,' \
-e 's,XX_SPF_LIBS_XX,-lspf2,' \
-e 's,XX_SPF_LIBS_XX,-lspf2 ${PTHREAD_LIBS},' \
-e 's,^\# (EXPERIMENTAL_SPF=),\1,'
.else
SEDLIST+= -e 's,XX_SPF_FLAGS_XX,,' \