Bug 185312 - irc/darkbot: Support CC/CFLAGS properly
Summary: irc/darkbot: Support CC/CFLAGS properly
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-30 21:10 UTC by tkato432
Modified: 2014-01-25 17:00 UTC (History)
0 users

See Also:


Attachments
file.diff (1.12 KB, patch)
2013-12-30 21:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-12-30 21:10:01 UTC
- Support CC/CFLAGS properly
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2014-01-23 15:46:00 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2014-01-25 16:54:33 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-01-25 16:54:39 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"