ports/net/freenet6/files/patch-src-Makefile
Edwin Groothuis 4e0a8fc3c2 Apply patch to let the Makefile in freenet6 honour the CC/CFLAGS
Patch is also submitted to the original authors.

PR:		ports/44375
Submitted by:	Volker Stolz <vs@foldr.org>
Reviewed by:	kris@freebsd.org
2002-10-25 08:24:43 +00:00

20 lines
538 B
Text

--- src/Makefile.orig Thu Dec 6 06:06:55 2001
+++ src/Makefile Tue Oct 22 22:50:38 2002
@@ -11,7 +11,7 @@
INC=.
BIN=../bin
-CC=gcc -g -I$(INC) -Wall
+CC+=$(CFLAGS) -g -I$(INC) -Wall
pre-clean:
@if [ -f $(BIN)/tspc.conf ]; then rm -f $(BIN)/tspc.conf; fi
@@ -22,7 +22,7 @@
@echo Installing tspc
mkdir -p $(install_bin)
$(COPY) $(BIN)/$(TSPC) $(install_bin)/$(TSPC)
- $(COPY) $(BIN)/tspc.conf $(install_bin)/tspc.conf
+ $(COPY) $(BIN)/tspc.conf $(install_etc)/tspc.conf
@echo End of tspc installation
$(BIN)/tspc.conf: