Fix build on amd64.
This commit is contained in:
parent
9e7fa8d0b2
commit
e885feab8c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130792
@ -15,7 +15,7 @@ MAINTAINER= mbr@FreeBSD.org
|
||||
COMMENT= A caching IMAP proxy server
|
||||
|
||||
USE_REINPLACE= YES
|
||||
HAS_CONFIGURE= YES
|
||||
GNU_CONFIGURE= YES
|
||||
USE_RC_SUBR= YES
|
||||
|
||||
SAMPLE_EXT= sample
|
||||
@ -26,7 +26,7 @@ RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
|
||||
RC_SUBR=${RC_SUBR}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "s|-lc_r|${PTHREAD_LIBS}|g; s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e "s|-lc_r|${PTHREAD_LIBS}|g; s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||
|
Loading…
Reference in New Issue
Block a user