aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ezbounce
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-01-28 15:38:56 +0800
committerkrion <krion@FreeBSD.org>2005-01-28 15:38:56 +0800
commit330e86f84c3225765a2c13eb083e1986a6173bd9 (patch)
tree9229caaf9f8910d726a413a769a85063b29ff81c /irc/ezbounce
parent30c40285a19ce6dd64f229126ce8dd8ef5726f51 (diff)
downloadfreebsd-ports-gnome-330e86f84c3225765a2c13eb083e1986a6173bd9.tar.gz
freebsd-ports-gnome-330e86f84c3225765a2c13eb083e1986a6173bd9.tar.zst
freebsd-ports-gnome-330e86f84c3225765a2c13eb083e1986a6173bd9.zip
Support CXXFLAGS properly.
PR: ports/76767 Submitted by: Ports Fury
Diffstat (limited to 'irc/ezbounce')
-rw-r--r--irc/ezbounce/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/irc/ezbounce/Makefile b/irc/ezbounce/Makefile
index 4d5cfca2d1ca..0990ca579b16 100644
--- a/irc/ezbounce/Makefile
+++ b/irc/ezbounce/Makefile
@@ -14,6 +14,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/b/}
MAINTAINER= ports@FreeBSD.org
COMMENT= A highly configurable IRC Proxy
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
MAN1= ezbounce.1
@@ -36,17 +37,18 @@ PLIST_SUB+= SSL="@comment "
.include <bsd.port.pre.mk>
pre-everything::
- @${ECHO} ""
- @${ECHO} "You may use the following build options:"
- @${ECHO} ""
- @${ECHO} " WITH_SSL=yes Enable SSL support"
- @${ECHO} " WITH_MDIDENTD=yes Install the mdidentd binary to"
- @${ECHO} " modify ident replies"
- @${ECHO} ""
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "You may use the following build options:"
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " WITH_SSL=yes Enable SSL support"
+ @${ECHO_MSG} " WITH_MDIDENTD=yes Install the mdidentd binary to"
+ @${ECHO_MSG} " modify ident replies"
+ @${ECHO_MSG} ""
post-patch:
@${SED} -e "s:/path/to:${PREFIX}/sbin:" ${WRKSRC}/sample.conf > \
${WRKSRC}/ezb.conf.default
+ @${REINPLACE_CMD} -e 's|=-O2|="$$CXXFLAGS"|g' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ezbounce ${PREFIX}/sbin