svn commit: r341057 - in head/irc/darkbot: . files
Martin Wilke
miwi at FreeBSD.org
Sat Jan 25 16:54:33 UTC 2014
Author: miwi
Date: Sat Jan 25 16:54:32 2014
New Revision: 341057
URL: http://svnweb.freebsd.org/changeset/ports/341057
QAT: https://qat.redports.org/buildarchive/r341057/
Log:
- Support CC/CFLAGS properly
PR: 185312
Submitted by: Ports Fury
Modified:
head/irc/darkbot/Makefile
head/irc/darkbot/files/patch-Makefile
Modified: head/irc/darkbot/Makefile
==============================================================================
--- head/irc/darkbot/Makefile Sat Jan 25 16:53:54 2014 (r341056)
+++ head/irc/darkbot/Makefile Sat Jan 25 16:54:32 2014 (r341057)
@@ -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 @@ PLIST_DIRSTRY= %%ETCDIR%%/logs/ %%ETCDIR
.include <bsd.port.options.mk>
-post-patch:
+pre-configure:
${CP} ${WRKSRC}/configure ${WRKSRC}/config
do-install:
Modified: head/irc/darkbot/files/patch-Makefile
==============================================================================
--- head/irc/darkbot/files/patch-Makefile Sat Jan 25 16:53:54 2014 (r341056)
+++ head/irc/darkbot/files/patch-Makefile Sat Jan 25 16:54:32 2014 (r341057)
@@ -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
More information about the svn-ports-all
mailing list