diff options
author | krion <krion@FreeBSD.org> | 2003-09-25 17:24:10 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2003-09-25 17:24:10 +0800 |
commit | 7784299f7f0e292006d44aaddb9f542069ccbee1 (patch) | |
tree | c39e73f80445cab8fb66c80b42bc315be8a09384 /audio/nosefart/files | |
parent | 5fc7fc5dac00feb74b7f5bc94540024822500615 (diff) | |
download | freebsd-ports-gnome-7784299f7f0e292006d44aaddb9f542069ccbee1.tar.gz freebsd-ports-gnome-7784299f7f0e292006d44aaddb9f542069ccbee1.tar.zst freebsd-ports-gnome-7784299f7f0e292006d44aaddb9f542069ccbee1.zip |
- Update to version 1.92f
- Add automatic track length calculation with -a option.
- Add -i (info) and -l <len> (only play <len> length) options.
- Show enabled and persistent channels.
PR: 57200
Submitted by: maintainer
Diffstat (limited to 'audio/nosefart/files')
-rw-r--r-- | audio/nosefart/files/patch-aa | 101 |
1 files changed, 41 insertions, 60 deletions
diff --git a/audio/nosefart/files/patch-aa b/audio/nosefart/files/patch-aa index 018b1061c963..d6fba4496bb7 100644 --- a/audio/nosefart/files/patch-aa +++ b/audio/nosefart/files/patch-aa @@ -1,86 +1,67 @@ ---- Makefile.linux.orig Wed Oct 11 13:05:18 2000 -+++ Makefile.linux Thu Oct 12 14:07:05 2000 -@@ -3,12 +3,6 @@ +--- Makefile.orig Wed Sep 24 11:02:34 2003 ++++ Makefile Wed Sep 24 19:43:19 2003 +@@ -1,12 +1,6 @@ ################################ # Configuration -CC = gcc -CFLAGS = --LDFLAGS = +-LDFLAGS = -lm -PREFIX = /usr/local --# WANT_DEBUG = TRUE +-WANT_DEBUG=TRUE - # nothing below here should need to be changed ################################ -@@ -25,14 +19,10 @@ - -I$(SRCDIR)/sndhrdw\ - -I$(SRCDIR)/machine\ - -I$(SRCDIR)/cpu/nes6502\ -+ -I$(LOCALBASE)/include\ - -I$(BUILDDIR) +@@ -21,19 +15,13 @@ + + CFLAGS += -DNSF_PLAYER -ifeq "$(WANT_DEBUG)" "TRUE" -- CFLAGS += -ggdb -DNSF_PLAYER +- CFLAGS += -ggdb -else -- CFLAGS += -O2 -fomit-frame-pointer -ffast-math -funroll-loops -DNSF_PLAYER +- CFLAGS += -O2 -fomit-frame-pointer -ffast-math -funroll-loops - DEBUG_OBJECTS = -endif -+CFLAGS += -DNSF_PLAYER +- + CFLAGS +=\ + -I$(SRCDIR)\ + -I$(SRCDIR)/linux\ + -I$(SRCDIR)/sndhrdw\ + -I$(SRCDIR)/machine\ + -I$(SRCDIR)/cpu/nes6502\ ++ -I$(LOCALBASE)/include\ + -I$(BUILDTOP)\ + -I/usr/local/include/ - ################################ - # Here's where the directory tree gets ugly -@@ -55,36 +45,26 @@ - OBJS = $(addsuffix .o, $(FILES)) - OBJECTS = $(addprefix $(BUILDDIR)/, $(OBJS)) +@@ -59,9 +47,11 @@ + SOURCES = $(addprefix $(SRCDIR)/, $(SRCS)) + OBJECTS = $(patsubst $(SRCDIR)/%.c,$(BUILDDIR)/%.o,$(SOURCES)) +LDLIBS = -lm + - ################################ - # Rules + ALL_OBJECTS = $(OBJECTS) --all: $(BUILDDIR)/$(NAME) -+all: $(BUILDDIR)/config.h $(BUILDDIR)/$(NAME) +-ALL_TARGETS = $(BUILDTOP)/$(NAME) ++ALL_TARGETS = $(BUILDTOP)/config.h $(BUILDTOP)/$(NAME) ################################ - # Support - --$(BUILDDIR): -+$(BUILDDIR)/config.h: Makefile.linux -+ [ -d $(BUILDDIR) ] || mkdir -p $(BUILDDIR) - -mkdir -p $(BUILDDIR)/cpu/nes6502 $(BUILDDIR)/machine $(BUILDDIR)/sndhrdw $(BUILDDIR)/linux -- --$(BUILDDIR)/config.h: $(BUILDDIR) Makefile.linux - echo "#define VERSION \"$(VERSION)\"" > $(BUILDDIR)/config.h - echo "#define NAME \"$(NAME)\"" >> $(BUILDDIR)/config.h - --$(BUILDDIR)/dep: $(BUILDDIR)/config.h -- $(CC) $(CFLAGS) -M $(SOURCES) > $@ -- --include $(BUILDDIR)/dep -- - install: $(BUILDDIR)/$(NAME) -- mkdir -p $(PREFIX)/bin -- cp $(BUILDDIR)/$(NAME) $(PREFIX)/bin -- @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" -- @echo "run $(NAME) with a wrapper, like artsdsp from arts or esddsp from esound." -- @echo "-----------------------------------------------" -- @echo "Also, make sure that $(PREFIX)/bin is in your PATH." -- -+ [ -d $(PREFIX)/bin ] || mkdir -p $(PREFIX)/bin -+ $(INSTALL) -cs -g $(BINGRP) -m $(BINMODE) -o $(BINOWN) $(BUILDDIR)/$(NAME) $(PREFIX)/bin -+ - uninstall: - rm -f $(PREFIX)/bin/$(NAME) + # Rules +@@ -87,7 +77,7 @@ -@@ -92,7 +72,7 @@ + install: all + mkdir -p $(PREFIX)/bin +- cp $(ALL_TARGETS) $(PREFIX)/bin ++ $(INSTALL) $(COPY) $(STRIP) -g $(BINGRP) -m $(BINMODE) -o $(BINOWN) $(BUILDTOP)/$(NAME) $(PREFIX)/bin + @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 @@ # The real heavy lifting - $(BUILDDIR)/$(NAME): $(OBJECTS) -- $(CC) $(LDFLAGS) -o $@ $(OBJECTS) -+ $(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(LDLIBS) + $(BUILDTOP)/$(NAME): $(OBJECTS) +- $(CC) $(NSFINFO_CFLAGS) $(LDFLAGS) -o $@ $^ ++ $(CC) $(NSFINFO_CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) - $(BUILDDIR)/%.o: $(SRCDIR)/%.c - $(CC) $(CFLAGS) -o $@ -c $< + $(BUILDDIR)/%.o: $(SRCDIR)/%.c + $(CC) $(NSFINFO_CFLAGS) -o $@ -c $< |