Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 16:54:32 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341057 - in head/irc/darkbot: . files
Message-ID:  <201401251654.s0PGsWex001576@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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