aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-09-10 06:27:23 +0800
committermm <mm@FreeBSD.org>2010-09-10 06:27:23 +0800
commit60e8bb43b9b9336bec5415b13803395e2ff1efd5 (patch)
treedda2f7194c0c46184d8ececf9fbc17be3dc406b1 /net-im
parent77095ceb20ba0487a47dadb248a0aa2753631d0a (diff)
downloadfreebsd-ports-gnome-60e8bb43b9b9336bec5415b13803395e2ff1efd5.tar.gz
freebsd-ports-gnome-60e8bb43b9b9336bec5415b13803395e2ff1efd5.tar.zst
freebsd-ports-gnome-60e8bb43b9b9336bec5415b13803395e2ff1efd5.zip
- Move -I${LOCALBASE}/include from main CFLAGS inside port's Makefiles
- This is a cosmetic change only PR: ports/147802 Submitted by: Chris Hilton <chris@vindaloo.com>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/mu-conference/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/net-im/mu-conference/Makefile b/net-im/mu-conference/Makefile
index 7581b76a7c3d..030f299b083d 100644
--- a/net-im/mu-conference/Makefile
+++ b/net-im/mu-conference/Makefile
@@ -27,8 +27,6 @@ OPTIONS= MYSQL "Enable MySQL support" off \
SUB_FILES+= pkg-message README.FreeBSD.jabberd14 \
README.FreeBSD.jabberd2 README.FreeBSD.external
-CFLAGS+= -I${LOCALBASE}/include
-
DOCFILES= AUTHORS COPYING ChangeLog FAQ LICENSE README TODO \
XEP0045_SUPPORT muc-default.xml style.css
@@ -82,7 +80,7 @@ SUB_LIST+= JABBER_REQUIRE="${JABBER_REQUIRE}" \
post-patch:
@${REINPLACE_CMD} -e 's/=$$(CFLAGS)/=/g;s/^CFLAGS[:]*=/CFLAGS+=/g' \
-e 's/^CC:*=/CC?=/g;s|gcc |$$(CC) |;s|-O2||g' \
- -e 's#`pkg-config#`${LOCALBASE}/bin/pkg-config#g' \
+ -e 's#`pkg-config#-I${LOCALBASE}/include `${LOCALBASE}/bin/pkg-config#g' \
${WRKSRC}/Makefile ${WRKSRC}/*/Makefile \
${WRKSRC}/*/*/Makefile
@${REINPLACE_CMD} -e 's#<spool>\./spool/chat.localhost#<spool>${JABBER_SPOOLDIR}/conference.localhost#g' \