aboutsummaryrefslogtreecommitdiff
path: root/mail/mess822/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-02-22 05:33:05 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-02-22 05:33:05 +0000
commit36ccda23869675a9e368abef153efcaea27c9a2a (patch)
tree4ab8b1be84f28f90e9c485748abd230629528f58 /mail/mess822/Makefile
parentcea22982806dad1c96fc288bf8bf79ec708ed653 (diff)
downloadports-36ccda23869675a9e368abef153efcaea27c9a2a.tar.gz
ports-36ccda23869675a9e368abef153efcaea27c9a2a.zip
- Fix build with clang
- This does not actually depend on qmail for build
Notes
Notes: svn path=/head/; revision=345566
Diffstat (limited to 'mail/mess822/Makefile')
-rw-r--r--mail/mess822/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/mess822/Makefile b/mail/mess822/Makefile
index 432ba24f101c..ffa60a418666 100644
--- a/mail/mess822/Makefile
+++ b/mail/mess822/Makefile
@@ -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>