aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sylpheed3
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2007-10-09 22:55:39 +0800
committeroliver <oliver@FreeBSD.org>2007-10-09 22:55:39 +0800
commitc62d21be8537a9c57ab0ddcb4584ecf2f8914469 (patch)
tree08cd6196ac437679038c35669877bcf92c84fbe4 /mail/sylpheed3
parent96ab328a121941e366c82505b6a1209bf0045c88 (diff)
downloadfreebsd-ports-gnome-c62d21be8537a9c57ab0ddcb4584ecf2f8914469.tar.gz
freebsd-ports-gnome-c62d21be8537a9c57ab0ddcb4584ecf2f8914469.tar.zst
freebsd-ports-gnome-c62d21be8537a9c57ab0ddcb4584ecf2f8914469.zip
fix the build if a base64.h exists in PREFIX/include which declares things
different then libsylph/base64.h does PR: 117001
Diffstat (limited to 'mail/sylpheed3')
-rw-r--r--mail/sylpheed3/Makefile4
1 files changed, 4 insertions, 0 deletions
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