aboutsummaryrefslogtreecommitdiff
path: root/audio/nosefart/files/patch-aa
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-08-30 04:16:51 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-08-30 04:16:51 +0000
commita1c50f9316d71b792a773031489832391cd75762 (patch)
tree459a33a4a4b73ed4270601e2a59e404ccd5b42f0 /audio/nosefart/files/patch-aa
parenta54d79fa38d297eb3983d3ad0cc98f7c113ccb1d (diff)
downloadports-a1c50f9316d71b792a773031489832391cd75762.tar.gz
ports-a1c50f9316d71b792a773031489832391cd75762.zip
Notes
Diffstat (limited to 'audio/nosefart/files/patch-aa')
-rw-r--r--audio/nosefart/files/patch-aa28
1 files changed, 17 insertions, 11 deletions
diff --git a/audio/nosefart/files/patch-aa b/audio/nosefart/files/patch-aa
index d6fba4496bb7..d4af7a2b2769 100644
--- a/audio/nosefart/files/patch-aa
+++ b/audio/nosefart/files/patch-aa
@@ -1,6 +1,6 @@
--- Makefile.orig Wed Sep 24 11:02:34 2003
+++ Makefile Wed Sep 24 19:43:19 2003
-@@ -1,12 +1,6 @@
+@@ -1,11 +1,10 @@
################################
# Configuration
@@ -9,11 +9,14 @@
-LDFLAGS = -lm
-PREFIX = /usr/local
-WANT_DEBUG=TRUE
--
++CC ?= gcc
++CFLAGS ?=
++LDFLAGS ?= -lm
++PREFIX ?= /usr/local
+
# nothing below here should need to be changed
- ################################
-@@ -21,19 +15,13 @@
+@@ -21,19 +20,13 @@ SRCDIR = src
CFLAGS += -DNSF_PLAYER
@@ -34,7 +37,7 @@
-I$(BUILDTOP)\
-I/usr/local/include/
-@@ -59,9 +47,11 @@
+@@ -59,6 +52,8 @@ SRCS = $(addsuffix .c, $(FILES) linux/ma
SOURCES = $(addprefix $(SRCDIR)/, $(SRCS))
OBJECTS = $(patsubst $(SRCDIR)/%.c,$(BUILDDIR)/%.o,$(SOURCES))
@@ -42,12 +45,15 @@
+
ALL_OBJECTS = $(OBJECTS)
--ALL_TARGETS = $(BUILDTOP)/$(NAME)
-+ALL_TARGETS = $(BUILDTOP)/config.h $(BUILDTOP)/$(NAME)
+ ALL_TARGETS = $(BUILDTOP)/$(NAME)
+@@ -82,12 +77,13 @@ $(BUILDTOP)/config.h: $(BUILDDIR) Makefi
- ################################
- # Rules
-@@ -87,7 +77,7 @@
+ $(BUILDDIR)/dep: $(BUILDTOP)/config.h
+ $(CC) $(NSFINFO_CFLAGS) $(CFLAGS) -M $(SOURCES) > $@
++dep: $(BUILDDIR)/dep
+
+--include $(BUILDDIR)/dep/
++-include $(BUILDDIR)/dep
install: all
mkdir -p $(PREFIX)/bin
@@ -56,7 +62,7 @@
@echo "-----------------------------------------------"
@echo "Be sure to run chmod +s $(PREFIX)/bin/$(NAME) if you want ordinary users"
@echo "to be able to use /dev/dsp. SUID isn't necessary, though, if you want to"
-@@ -105,7 +95,7 @@
+@@ -105,7 +101,7 @@ clean:
# The real heavy lifting
$(BUILDTOP)/$(NAME): $(OBJECTS)