1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/polish/trf/files/patch-Makefile
Kirill Ponomarev 2ee2622b9c Add trf 0.4, billing software for traffic counting working with
most Polish ISPs.

PR:		57524
Submitted by:	Maciek Korzen <eaquer@ceti.pl>
2003-10-03 17:24:48 +00:00

21 lines
363 B
Plaintext

--- Makefile.orig Fri Oct 3 18:00:32 2003
+++ Makefile Fri Oct 3 18:01:51 2003
@@ -1,5 +1,7 @@
+CC ?= gcc
+CFLAGS+=-DFREEBSD
DESTDIR=
-prefix=/usr/local
+prefix=${PREFIX}
all:
@case "`uname -s`" in \
@@ -19,7 +21,7 @@
gcc -DLINUX -Wall -o trfs trfs.c
freebsd:
- gcc -DFREEBSD -Wall -o trfs trfs.c
+ $(CC) $(CFLAGS) -o trfs trfs.c
trfs:
make all