pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/snd Fix destdir installation



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95498c61d094
branches:  trunk
changeset: 397761:95498c61d094
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Aug 18 16:47:18 2009 +0000

description:
Fix destdir installation

diffstat:

 audio/snd/distinfo         |   3 ++-
 audio/snd/patches/patch-ab |  26 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r c900c62b36dd -r 95498c61d094 audio/snd/distinfo
--- a/audio/snd/distinfo        Tue Aug 18 16:43:40 2009 +0000
+++ b/audio/snd/distinfo        Tue Aug 18 16:47:18 2009 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2008/04/28 12:47:44 wiz Exp $
+$NetBSD: distinfo,v 1.16 2009/08/18 16:47:18 joerg Exp $
 
 SHA1 (snd-9.9.tar.gz) = 8c00b1d48d66032a9085b8ae652a5d25c8ef14a2
 RMD160 (snd-9.9.tar.gz) = 39561a38d8bba7ead73a16fc7647cb2bd6ef275a
 Size (snd-9.9.tar.gz) = 12349176 bytes
 SHA1 (patch-aa) = b17208a09350d6f9be61b60d6ece6d92d60c5ad5
+SHA1 (patch-ab) = c6f2a3c134c2fb2adee67b672f66a092e7962b75
diff -r c900c62b36dd -r 95498c61d094 audio/snd/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/snd/patches/patch-ab        Tue Aug 18 16:47:18 2009 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-ab,v 1.4 2009/08/18 16:47:18 joerg Exp $
+
+--- makefile.in.orig   2009-08-18 18:34:38.000000000 +0200
++++ makefile.in
+@@ -190,14 +190,14 @@ audinfo: $(SNDLIB_HEADERS)
+       $(CC) $(LDFLAGS) $(CFLAGS) headers.o io.o audio.o sound.o audinfo.o -o audinfo $(JACK_LIBS) $(AUDIO_LIB) $(LIBS)
+ 
+ install: snd
+-      ${SHELL} ${top_srcdir}/mkinstalldirs ${bindir}
+-      ${SHELL} ${top_srcdir}/mkinstalldirs ${mandir}
+-      ${SHELL} ${top_srcdir}/mkinstalldirs ${mandir}/man1
+-      ${SHELL} ${top_srcdir}/mkinstalldirs ${pkgdatadir}
++      ${SHELL} ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
++      ${SHELL} ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}
++      ${SHELL} ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
++      ${SHELL} ${top_srcdir}/mkinstalldirs ${DESTDIR}${pkgdatadir}
+       (cd po && $(MAKE) install)
+-      $(INSTALL) snd ${bindir}/snd
+-      $(INSTALL) ${top_srcdir}/snd.1 ${mandir}/man1
+-      (cd ${top_srcdir} && for f in ${SND_SCRIPTS}; do ${INSTALL_DATA} ${top_srcdir}/$${f} ${pkgdatadir}/$${f}; done)
++      $(BSD_INSTALL_PROGRAM) snd ${DESTDIR}${bindir}/snd
++      $(INSTALL) ${top_srcdir}/snd.1 ${DESTDIR}${mandir}/man1
++      (cd ${top_srcdir} && for f in ${SND_SCRIPTS}; do ${INSTALL_DATA} ${top_srcdir}/$${f} ${DESTDIR}${pkgdatadir}/$${f}; done)
+ 
+ uninstall:
+       rm -f ${bindir}/snd



Home | Main Index | Thread Index | Old Index