aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrix <brix@FreeBSD.org>2010-04-04 23:02:59 +0800
committerbrix <brix@FreeBSD.org>2010-04-04 23:02:59 +0800
commitc52af756f3a97000e35fc72262f240c0ee8536d5 (patch)
treecc526c468cc9a9025f01ac60acdd178f5ad64deb
parent37eba03bf9604e7da4205e15f986d7a025aa4393 (diff)
downloadfreebsd-ports-gnome-c52af756f3a97000e35fc72262f240c0ee8536d5.tar.gz
freebsd-ports-gnome-c52af756f3a97000e35fc72262f240c0ee8536d5.tar.zst
freebsd-ports-gnome-c52af756f3a97000e35fc72262f240c0ee8536d5.zip
Fix build with gcc-3.x on RELENG_6.
Reported by: pointyhat via erwin
-rw-r--r--irc/bitlbee/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/irc/bitlbee/Makefile b/irc/bitlbee/Makefile
index 4d51ad1e0eb9..95e808ceb710 100644
--- a/irc/bitlbee/Makefile
+++ b/irc/bitlbee/Makefile
@@ -114,6 +114,11 @@ post-patch:
@${REINPLACE_CMD} \
-e "s:/var/lib/bitlbee:/var/db/bitlbee:" \
${WRKSRC}/doc/bitlbee.8
+.if ${OSVERSION} < 700042
+ @${REINPLACE_CMD} \
+ -e "s:-iquote:-I:g" \
+ ${WRKSRC}/configure
+.endif
pre-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL