Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2005 03:00:21 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/76767: Update port: irc/ezbounce
Message-ID:  <20050128030021.5a3a093a.tkato432@yahoo.com>
Resent-Message-ID: <200501271810.j0RIAM9h000512@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         76767
>Category:       ports
>Synopsis:       Update port: irc/ezbounce
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 27 18:10:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CXXFLAGS properly

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/irc/ezbounce/Makefile irc/ezbounce/Makefile
--- /usr/ports/irc/ezbounce/Makefile	Thu Jan 27 02:42:43 2005
+++ irc/ezbounce/Makefile	Thu Jan 27 13:40:54 2005
@@ -14,6 +14,7 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A highly configurable IRC Proxy
 
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 
 MAN1=		ezbounce.1
@@ -36,17 +37,18 @@
 .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
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050128030021.5a3a093a.tkato432>