aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2011-07-26 22:13:55 +0000
committerRenato Botelho <garga@FreeBSD.org>2011-07-26 22:13:55 +0000
commitdf9f14e1348e230181d58f4fd0fe2d660080bb0b (patch)
treefeea3ff902229c778636fa7a23ac416a71ee1bc5 /mail
parent8c4875a679190a1054ed0feaa586ce423bf0ab03 (diff)
downloadports-df9f14e1348e230181d58f4fd0fe2d660080bb0b.tar.gz
ports-df9f14e1348e230181d58f4fd0fe2d660080bb0b.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/qmail/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index a204e823bde1..27f6b9a2576f 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -728,6 +728,8 @@ post-patch:
.if ( ${ARCH} == "amd64" || ${ARCH} == "ia64" ) && !defined(SLAVE_LDAP)
@${PATCH} -d ${WRKSRC} < ${FILESDIR}/extra-patch-amd64
.endif
+ @${REINPLACE_CMD} -e "s/void *main/int main/g" ${WRKSRC}/*.c
+ @${REINPLACE_CMD} -e "/int main/ s/argc, *argv/int argc, char **argv/" ${WRKSRC}/install.c
do-configure:
@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc