aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-09-09 22:27:23 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-09-09 22:27:23 +0000
commitd54a0f6b9daaf2838fa0f812ed2d41464b60fb31 (patch)
treeecd962d0f008ed4b3e60c86b0d66957cae2adefa
parentea24bb75fe059f5fac00f76b27b2d12b8088fd93 (diff)
downloadports-d54a0f6b9daaf2838fa0f812ed2d41464b60fb31.tar.gz
ports-d54a0f6b9daaf2838fa0f812ed2d41464b60fb31.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>
Notes
Notes: svn path=/head/; revision=260892
-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' \