aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-07-16 13:48:18 +0800
committerrafan <rafan@FreeBSD.org>2008-07-16 13:48:18 +0800
commit65a8073367f67e704a6803e34dbdfd5ce0af6df5 (patch)
treeca77eb284e6161c31ac25a1846f4cc170ed1b06b
parentc60934cf48c3468f030943b98587f35a8bb7a320 (diff)
downloadfreebsd-ports-gnome-65a8073367f67e704a6803e34dbdfd5ce0af6df5.tar.gz
freebsd-ports-gnome-65a8073367f67e704a6803e34dbdfd5ce0af6df5.tar.zst
freebsd-ports-gnome-65a8073367f67e704a6803e34dbdfd5ce0af6df5.zip
- Fix build on 6.x (gcc 3.x)
Noticed by: pointyhat via pav
-rw-r--r--mail/mail-notification/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-notification/Makefile b/mail/mail-notification/Makefile
index d32c52f563ab..5098958f5a15 100644
--- a/mail/mail-notification/Makefile
+++ b/mail/mail-notification/Makefile
@@ -125,6 +125,11 @@ JB_CONF_ARGS+= sasl=no
LIB_DEPENDS+= sasl2:${PORTSDIR}/security/cyrus-sasl2
.endif
+post-patch:
+.if ${OSVERSION} < 700042
+ @${REINPLACE_CMD} -e "s,-Wno-pointer-sign,," ${WRKSRC}/jb
+.endif
+
do-configure:
cd ${WRKSRC} && ${JB_CONF_ENV} ./jb configure ${JB_CONF_ARGS}