summaryrefslogtreecommitdiff
path: root/mail/sylpheed3
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2007-10-09 14:55:39 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2007-10-09 14:55:39 +0000
commit3a6bef3ff8237badb07c1a1b237021b9a0375d92 (patch)
tree86ad79835cfcda043e34c355bfffba3e9143b3d8 /mail/sylpheed3
parentAdd weedit, a file duplicate scanner with database support. (diff)
fix the build if a base64.h exists in PREFIX/include which declares things
different then libsylph/base64.h does PR: 117001
Notes
Notes: svn path=/head/; revision=201178
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