ports/net/xbms/files/patch-Makefile
Christian Weisgerber 1b312f03b2 Add useful rc.d startup script.
PR:		57693
Submitted by:	Jose R.Rey <king@v2project.com>

Also honor CFLAGS and clean-up install.
2003-10-08 20:39:57 +00:00

15 lines
348 B
Text

$FreeBSD$
--- Makefile.orig Sun Feb 23 13:11:59 2003
+++ Makefile Wed Oct 8 22:37:15 2003
@@ -1,8 +1,7 @@
-CC = gcc -Wall
BINDIR = /usr/local/bin
all: server
server:
- $(CC) -O3 -pthread -o xbms server.c
+ $(CC) $(CFLAGS) -pthread -o xbms server.c
install: all
rm -f $(BINDIR)/xbms
cp xbms $(BINDIR)