- Support CC/CFLAGS properly
PR: 185312 Submitted by: Ports Fury
This commit is contained in:
parent
f1b5086b08
commit
615f8cad47
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341057
2 changed files with 14 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= darkbot
|
PORTNAME= darkbot
|
||||||
PORTVERSION= 6f6.r6
|
PORTVERSION= 6f6.r6
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= irc
|
CATEGORIES= irc
|
||||||
MASTER_SITES= http://darkbot.sourceforge.net/archive/unix/ \
|
MASTER_SITES= http://darkbot.sourceforge.net/archive/unix/ \
|
||||||
|
@ -21,7 +21,7 @@ PLIST_DIRSTRY= %%ETCDIR%%/logs/ %%ETCDIR%%/dat/ %%ETCDIR%%
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
post-patch:
|
pre-configure:
|
||||||
${CP} ${WRKSRC}/configure ${WRKSRC}/config
|
${CP} ${WRKSRC}/configure ${WRKSRC}/config
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
|
|
|
@ -1,5 +1,17 @@
|
||||||
--- Makefile.orig Tue Apr 1 00:14:41 2003
|
--- Makefile.orig Tue Apr 1 00:14:41 2003
|
||||||
+++ Makefile Tue Apr 1 00:23:28 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 @@
|
@@ -23,14 +23,15 @@
|
||||||
|
|
||||||
ALL_SRC = darkbot.c
|
ALL_SRC = darkbot.c
|
||||||
|
|
Loading…
Reference in a new issue