mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- 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
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user