diff options
author | Renato Botelho <garga@FreeBSD.org> | 2011-07-26 22:13:55 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2011-07-26 22:13:55 +0000 |
commit | df9f14e1348e230181d58f4fd0fe2d660080bb0b (patch) | |
tree | feea3ff902229c778636fa7a23ac416a71ee1bc5 | |
parent | 8c4875a679190a1054ed0feaa586ce423bf0ab03 (diff) | |
download | ports-df9f14e1348e230181d58f4fd0fe2d660080bb0b.tar.gz ports-df9f14e1348e230181d58f4fd0fe2d660080bb0b.zip |
Notes
-rw-r--r-- | mail/qmail/Makefile | 2 |
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 |