1
0
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:
Martin Wilke 2014-01-25 16:54:32 +00:00
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

View File

@ -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:

View File

@ -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