diff options
author | miwi <miwi@FreeBSD.org> | 2014-01-26 00:54:32 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2014-01-26 00:54:32 +0800 |
commit | 3ababe2cb04475427009a5534baacc1df87f849b (patch) | |
tree | 05fa0deb7ec63ec7688279c88c454bf1549e8e03 /irc | |
parent | 00c76a93cef304f17b1173aa64606e29099eeba1 (diff) | |
download | freebsd-ports-gnome-3ababe2cb04475427009a5534baacc1df87f849b.tar.gz freebsd-ports-gnome-3ababe2cb04475427009a5534baacc1df87f849b.tar.zst freebsd-ports-gnome-3ababe2cb04475427009a5534baacc1df87f849b.zip |
- Support CC/CFLAGS properly
PR: 185312
Submitted by: Ports Fury
Diffstat (limited to 'irc')
-rw-r--r-- | irc/darkbot/Makefile | 4 | ||||
-rw-r--r-- | irc/darkbot/files/patch-Makefile | 12 |
2 files changed, 14 insertions, 2 deletions
diff --git a/irc/darkbot/Makefile b/irc/darkbot/Makefile index 24ba85f3e78d..b12ac7e5e7ee 100644 --- a/irc/darkbot/Makefile +++ b/irc/darkbot/Makefile @@ -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%%/dat/ %%ETCDIR%% .include <bsd.port.options.mk> -post-patch: +pre-configure: ${CP} ${WRKSRC}/configure ${WRKSRC}/config do-install: diff --git a/irc/darkbot/files/patch-Makefile b/irc/darkbot/files/patch-Makefile index aecc689a1d72..778a4f6685dd 100644 --- a/irc/darkbot/files/patch-Makefile +++ b/irc/darkbot/files/patch-Makefile @@ -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 |