summaryrefslogtreecommitdiffstats
path: root/audio/xmixer/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmixer/files/patch-aa')
-rw-r--r--audio/xmixer/files/patch-aa28
1 files changed, 18 insertions, 10 deletions
diff --git a/audio/xmixer/files/patch-aa b/audio/xmixer/files/patch-aa
index 1f75338..6139566 100644
--- a/audio/xmixer/files/patch-aa
+++ b/audio/xmixer/files/patch-aa
@@ -1,30 +1,38 @@
---- Makefile.in.orig Sun Aug 22 07:25:07 1999
-+++ Makefile.in Sat Jul 1 15:58:55 2000
+--- Makefile.in.orig Thu Nov 16 17:12:29 2000
++++ Makefile.in Tue Feb 20 02:03:56 2001
@@ -13,7 +13,7 @@
DEF_MIXER = /dev/mixer
- VERSION = 0.9.3
+ VERSION = 0.9.4
-CFLAGS = -O -Wall @CFLAGS@ @X_CFLAGS@ -DDEFAULT_MIXER=\"$(DEF_MIXER)\" \
+CFLAGS = @CFLAGS@ @X_CFLAGS@ -DDEFAULT_MIXER=\"$(DEF_MIXER)\" \
-DOSS -I$(top_srcdir) -I$(top_srcdir)/icons \
-DVERSION=\"$(VERSION)\"
LDFLAGS = @LDFLAGS@
-@@ -33,27 +33,29 @@
+@@ -25,7 +25,7 @@
+ OBJS = main.o mixer.o gui_xaw.o chglbl.o scf.o
+ G_OBJS = main.o mixer.o gui_gtk.o scf.o
+
+-default: $(PROGS) README
++all: $(PROGS)
+
+ gui_xaw.o: fallback.h
+
+@@ -33,27 +33,27 @@
mkfb.pl < XMixer.ad > fallback.h
gui_gtk.o: gui_gtk.c
- $(CC) $(CFLAGS) $(INCS) `gtk-config --cflags` -c $<
+ $(CC) $(CFLAGS) $(INCS) `$(GTK_CONFIG) --cflags` -c $<
- %.o: %.c
+-%.o: %.c
++.c.o:
$(CC) $(CFLAGS) $(INCS) -c $<
-+all: gmixer xmixer
-+
xmixer: Xw/libXw.a $(OBJS)
$(LD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
- gmixer: $(G_OBJS)
+ xgmixer: $(G_OBJS)
- $(LD) $(LDFLAGS) -o $@ $(G_OBJS) `gtk-config --libs`
+ $(LD) $(LDFLAGS) -o $@ $(G_OBJS) `$(GTK_CONFIG) --libs`
@@ -38,10 +46,10 @@
install: $(PROGS)
- install -o bin xmixer $(bindir)
- install xmixer.man $(mandir)/xmixer.1
-- install -o bin gmixer $(bindir)
+- install -o bin xgmixer $(bindir)
+ ${BSD_INSTALL_PROGRAM} xmixer $(bindir)
+ ${BSD_INSTALL_MAN} xmixer.man $(mandir)/xmixer.1
-+ ${BSD_INSTALL_PROGRAM} gmixer $(bindir)
++ ${BSD_INSTALL_PROGRAM} xgmixer $(bindir)
install.lib: libmixer.a
install libsmixer.a $(LIBDIR)
OpenPOWER on IntegriCloud