mirror of
https://git.freebsd.org/ports.git
synced 2025-05-22 11:48:35 -04:00
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.
23 lines
706 B
Text
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
|