From c62d21be8537a9c57ab0ddcb4584ecf2f8914469 Mon Sep 17 00:00:00 2001 From: oliver Date: Tue, 9 Oct 2007 14:55:39 +0000 Subject: fix the build if a base64.h exists in PREFIX/include which declares things different then libsylph/base64.h does PR: 117001 --- mail/sylpheed2/Makefile | 4 ++++ mail/sylpheed3/Makefile | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'mail') diff --git a/mail/sylpheed2/Makefile b/mail/sylpheed2/Makefile index d130f0dedd37..8909bfc642e5 100644 --- a/mail/sylpheed2/Makefile +++ b/mail/sylpheed2/Makefile @@ -108,6 +108,10 @@ post-patch: @${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}&|g' \ ${WRKSRC}/libsylph/procmime.c + # to prevent breaking cc of ldif.c because of a base64.h in PREFIX/include + @${REINPLACE_CMD} -e 's|^\(DEFS.*\.\.\)$$|\1 -I../libsylph|' \ + ${WRKSRC}/src/Makefile.in + .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e 's|^SUBDIRS = ac libsylph src po manual faq$$|SUBDIRS = ac libsylph src po|g' \ ${WRKSRC}/Makefile.in diff --git a/mail/sylpheed3/Makefile b/mail/sylpheed3/Makefile index d130f0dedd37..8909bfc642e5 100644 --- a/mail/sylpheed3/Makefile +++ b/mail/sylpheed3/Makefile @@ -108,6 +108,10 @@ post-patch: @${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}&|g' \ ${WRKSRC}/libsylph/procmime.c + # to prevent breaking cc of ldif.c because of a base64.h in PREFIX/include + @${REINPLACE_CMD} -e 's|^\(DEFS.*\.\.\)$$|\1 -I../libsylph|' \ + ${WRKSRC}/src/Makefile.in + .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e 's|^SUBDIRS = ac libsylph src po manual faq$$|SUBDIRS = ac libsylph src po|g' \ ${WRKSRC}/Makefile.in -- cgit