diff options
author | mm <mm@FreeBSD.org> | 2007-06-15 03:46:40 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2007-06-15 03:46:40 +0800 |
commit | 9ca38b1b22f809da99bfa7ffd6d521eeb4e93038 (patch) | |
tree | 0be40c47a2e459509bfb6ddd2172ec21125a39e0 /irc | |
parent | 7ca0c371cf1b7a2c51cc969a7b9ee009e504a626 (diff) | |
download | freebsd-ports-gnome-9ca38b1b22f809da99bfa7ffd6d521eeb4e93038.tar.gz freebsd-ports-gnome-9ca38b1b22f809da99bfa7ffd6d521eeb4e93038.tar.zst freebsd-ports-gnome-9ca38b1b22f809da99bfa7ffd6d521eeb4e93038.zip |
- respect CXXFLAGS
- cosmetic change in Makefile
Approved by: garga (mentor)
Diffstat (limited to 'irc')
-rw-r--r-- | irc/inspircd/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/irc/inspircd/Makefile b/irc/inspircd/Makefile index ff86b0f9d54d..54e04f155f63 100644 --- a/irc/inspircd/Makefile +++ b/irc/inspircd/Makefile @@ -7,7 +7,7 @@ PORTNAME= inspircd PORTVERSION= 1.1.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= irc MASTER_SITES= http://www.inspircd.org/downloads/ \ http://www.chatspike.net/downloads/ @@ -33,6 +33,7 @@ CONFIGURE_ARGS= --with-cc=${CXX} --config-dir=${PREFIX}/etc/inspircd \ post-patch: @${REINPLACE_CMD} -e '/INSTMODE/s|700|755|;/install -d.*BINPATH/d'\ + -e 's/FLAGS = @FLAGS@/FLAGS = ${CXXFLAGS} @FLAGS@/' \ ${WRKSRC}/.Makefile.inc # 1.0.6 Makefile forgets to make these directories @@ -49,8 +50,9 @@ post-install: @${STRIP_CMD} ${PREFIX}/lib/inspircd/*.so @${STRIP_CMD} ${PREFIX}/bin/inspircd .for FILE in censor conf filter helpop motd quotes rules - @${TEST} -f ${PREFIX}/etc/inspircd/inspircd.${FILE} || \ - ${CP} ${PREFIX}/etc/inspircd/inspircd.${FILE}.example ${PREFIX}/etc/inspircd/inspircd.${FILE} + @if ${TEST} -f ${PREFIX}/etc/inspircd/inspircd.${FILE}; then \ + ${CP} ${PREFIX}/etc/inspircd/inspircd.${FILE}.example ${PREFIX}/etc/inspircd/inspircd.${FILE}; \ + fi .endfor .include <bsd.port.mk> |