ports/audio/xmmsctrl/files/patch-Makefile
Tijl Coosemans 2ffbea1568 Convert multimedia/xmms to USES=libtool. Bump PORTREVISION on all
dependent ports and convert them to USES=libtool too.

audio/scrobbler:
- USES=tar:bzip2.
- Don't link with libstdc++.

audio/xmms-bonk:
- Don't link with libstdc++.

audio/xmms-flac:
- Remove unneeded dependencies.
- Remove $FreeBSD$ from patches.

audio/xmms-scrobbler:
- Use OPTIONS_SLAVE.

audio/xmms-timidity:
- USES=tar:bzip2.
- Install the library instead of the source code file.

audio/xmms-volnorm:
- Remove do-install.
2014-05-04 18:48:54 +00: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