summaryrefslogtreecommitdiffstats
path: root/audio/audtty/audtty-0.1.9a-cc-and-destdir.patch
diff options
context:
space:
mode:
author Manuel Mantilla2010-05-12 23:27:48 +0200
committer David Somero2010-05-12 23:27:48 +0200
commitf72e8ab50fbe9b768cb6a7e1d714a218b2f6edf7 (patch)
treece68dcaaf363fe2d516006347b3fb8a49053952e /audio/audtty/audtty-0.1.9a-cc-and-destdir.patch
parent30e31954d20e62000cfc803cb664caf4bb1ae3ef (diff)
downloadslackbuilds-f72e8ab50fbe9b768cb6a7e1d714a218b2f6edf7.tar.gz
audio/audtty: Added to 12.2 repository
Diffstat (limited to 'audio/audtty/audtty-0.1.9a-cc-and-destdir.patch')
-rw-r--r--audio/audtty/audtty-0.1.9a-cc-and-destdir.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/audio/audtty/audtty-0.1.9a-cc-and-destdir.patch b/audio/audtty/audtty-0.1.9a-cc-and-destdir.patch
new file mode 100644
index 0000000000..fb78cf75f4
--- /dev/null
+++ b/audio/audtty/audtty-0.1.9a-cc-and-destdir.patch
@@ -0,0 +1,30 @@
+diff -ur audtty.orig/Makefile.in audtty/Makefile.in
+--- audtty.orig/Makefile.in 2008-05-08 09:50:26.000000000 +0300
++++ audtty/Makefile.in 2008-07-05 09:36:31.000000000 +0300
+@@ -20,18 +20,18 @@
+ all: audtty
+
+ audtty: ${BINS}
+- cc -Wall -lncurses -laudclient ${LDFLAGS} -o audtty $(BINS)
++ $(CC) -Wall ${LDFLAGS} -o audtty $(BINS) -lncurses -laudclient
+
+ .c.o:
+- cc -Wall ${AUDACIOUS_CFLAGS} ${CFLAGS} -o $@ -c $<
++ $(CC) -Wall ${AUDACIOUS_CFLAGS} ${CFLAGS} -o $@ -c $<
+
+ install: audtty
+- mkdir -p ${bindir}
+- install -m 0755 audtty ${bindir}/audtty
+- mkdir -p ${mandir}
+- install -m 0644 audtty.1 ${mandir}/audtty.1
+- mkdir -p ${sysconfdir}
+- install -m 0644 audtty.conf ${sysconfdir}/audtty.conf
++ mkdir -p $(DESTDIR)${bindir}
++ install -m 0755 audtty $(DESTDIR)${bindir}/audtty
++ mkdir -p $(DESTDIR)${mandir}
++ install -m 0644 audtty.1 $(DESTDIR)${mandir}/audtty.1
++ mkdir -p $(DESTDIR)${sysconfdir}
++ install -m 0644 audtty.conf $(DESTDIR)${sysconfdir}/audtty.conf
+
+ uninstall:
+ rm ${bindir}/audtty || false