ports/185312: irc/darkbot: Support CC/CFLAGS properly
KATO Tsuguru
tkato432 at yahoo.com
Mon Dec 30 21:10:01 UTC 2013
>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:
More information about the freebsd-ports-bugs
mailing list