summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-04-11 11:29:54 +0000
committerSamuli Suominen <drac@gentoo.org>2008-04-11 11:29:54 +0000
commit6387c78bdade59dbd0893302cb41eb33957065cd (patch)
treea091aeb863d4584e66f1ed97e82df8eef1bd0c1b /media-sound/audtty/files
parentInitial import. Needed for sci-astronomy/skycat (diff)
downloadgentoo-2-6387c78bdade59dbd0893302cb41eb33957065cd.tar.gz
gentoo-2-6387c78bdade59dbd0893302cb41eb33957065cd.tar.bz2
gentoo-2-6387c78bdade59dbd0893302cb41eb33957065cd.zip
Version bump, reverting some Debian changes breaking standard DESTDIR.
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-sound/audtty/files')
-rw-r--r--media-sound/audtty/files/audtty-0.1.8-cc-and-destdir.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/media-sound/audtty/files/audtty-0.1.8-cc-and-destdir.patch b/media-sound/audtty/files/audtty-0.1.8-cc-and-destdir.patch
new file mode 100644
index 000000000000..255952c61e55
--- /dev/null
+++ b/media-sound/audtty/files/audtty-0.1.8-cc-and-destdir.patch
@@ -0,0 +1,30 @@
+diff -ur audtty-0.1.8.orig/Makefile.in audtty-0.1.8/Makefile.in
+--- audtty-0.1.8.orig/Makefile.in 2008-02-06 04:16:47.000000000 +0200
++++ audtty-0.1.8/Makefile.in 2008-04-11 14:24:32.000000000 +0300
+@@ -20,18 +20,18 @@
+ all: audtty
+
+ audtty: ${BINS}
+- gcc -Wall -lncurses -laudclient ${LDFLAGS} -o audtty $(BINS)
++ $(CC) -Wall -lncurses -laudclient ${LDFLAGS} -o audtty $(BINS)
+
+ .c.o:
+- gcc -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