1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Fix build with clang

- This does not actually depend on qmail for build
This commit is contained in:
Bryan Drewery 2014-02-22 05:33:05 +00:00
parent cea2298280
commit 36ccda2386
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345566

View File

@ -3,7 +3,7 @@
PORTNAME= mess822
PORTVERSION= 0.58
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://cr.yp.to/software/ \
ftp://ftp.jp.qmail.org/qmail/ \
@ -13,7 +13,7 @@ MASTER_SITES= http://cr.yp.to/software/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= RFC 822 mail message parsing library and rewriting utilities
USES= qmail
USES= qmail:vars
ALL_TARGET= it
INSTALL_TARGET= setup check
@ -29,8 +29,9 @@ NO_MTREE= yes
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
@${REINPLACE_CMD} -e "s|.var.qmail|${QMAIL_PREFIX}|" ${WRKSRC}/conf-qmail
@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
@${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
@${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home
.include <bsd.port.mk>