opnsense-ports/audio/xmmsctrl/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

23 lines
706 B
Text

--- Makefile.orig Fri Apr 2 15:00:12 2004
+++ Makefile Sun Oct 2 01:30:57 2005
@@ -6,17 +6,15 @@
VERSION := 1.8
DIRNAME := $(shell basename $(PWD))
-CC := gcc
WARN := -Wall -Wshadow -Wmissing-prototypes -W
DEFS := -DPRETTY_PRINT -D_GNU_SOURCE -DVERSION=\"$(VERSION)\"
-CFLAGS := $(WARN) -O2 $(shell xmms-config --cflags) $(DEFS)
-LDFLAGS := $(shell xmms-config --libs)
+CFLAGS += $(WARN) $(shell xmms-config --cflags) $(DEFS)
+LDFLAGS := $(shell xmms-config --libs)
-all : $(TARGET) HELP
+all : $(TARGET)
$(TARGET) : xmmsctrl.c removefile.c
$(CC) -o $(TARGET) xmmsctrl.c removefile.c $(CFLAGS) $(LDFLAGS)
- strip xmmsctrl
HELP : xmmsctrl
./xmmsctrl > HELP || true