Date: Tue, 31 Dec 2013 05:47:53 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/185312: irc/darkbot: Support CC/CFLAGS properly Message-ID: <20131231054753.d9ed3b22bf5a174ca9353019@yahoo.com> Resent-Message-ID: <201312302110.rBULA11C098565@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 185312 >Category: ports >Synopsis: irc/darkbot: Support CC/CFLAGS properly >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: Mon Dec 30 21:10:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p4 i386 >Organization: >Environment: >Description: - Support CC/CFLAGS properly >How-To-Repeat: >Fix: diff -urN /usr/ports/irc/darkbot/Makefile irc/darkbot/Makefile --- /usr/ports/irc/darkbot/Makefile 2013-11-06 21:47:46.000000000 +0900 +++ irc/darkbot/Makefile 2013-12-31 00:00:00.000000000 +0900 @@ -3,7 +3,7 @@ PORTNAME= darkbot PORTVERSION= 6f6.r6 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= irc MASTER_SITES= http://darkbot.sourceforge.net/archive/unix/ \ @@ -21,7 +21,7 @@ .include <bsd.port.options.mk> -post-patch: +pre-configure: ${CP} ${WRKSRC}/configure ${WRKSRC}/config do-install: diff -urN /usr/ports/irc/darkbot/files/patch-Makefile irc/darkbot/files/patch-Makefile --- /usr/ports/irc/darkbot/files/patch-Makefile 2013-11-06 21:47:46.000000000 +0900 +++ irc/darkbot/files/patch-Makefile 2013-12-31 00:00:00.000000000 +0900 @@ -1,5 +1,17 @@ --- Makefile.orig Tue Apr 1 00:14:41 2003 +++ Makefile Tue Apr 1 00:23:28 2003 +@@ -11,9 +11,9 @@ + # ..darkbot_debug.log, 'make debug2' # + # ------------------------------------------------ # + +-CC = gcc ++CC ?= gcc + +-CFLAGS = -DFORK -O3 ++CFLAGS += -DFORK + + DFLAGS = -dm -pg -g -DDEBUG + @@ -23,14 +23,15 @@ ALL_SRC = darkbot.c >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131231054753.d9ed3b22bf5a174ca9353019>