pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/p7zip Fix DESTDIR installation.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6681c7dd318
branches:  trunk
changeset: 540622:d6681c7dd318
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Apr 05 00:34:07 2008 +0000

description:
Fix DESTDIR installation.

diffstat:

 archivers/p7zip/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 310e358f300b -r d6681c7dd318 archivers/p7zip/Makefile
--- a/archivers/p7zip/Makefile  Fri Apr 04 23:45:57 2008 +0000
+++ b/archivers/p7zip/Makefile  Sat Apr 05 00:34:07 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2008/03/02 03:48:36 jlam Exp $
+# $NetBSD: Makefile,v 1.39 2008/04/05 00:34:07 joerg Exp $
 
 DISTNAME=      p7zip_4.57_src_all
 PKGNAME=       p7zip-4.57
@@ -60,7 +60,7 @@
        ${INSTALL_LIB} ${WRKSRC}/bin/Formats/* \
                ${DESTDIR}${PREFIX}/lib/7z/Formats
 .else
-       ln -s 7za ${PREFIX}/bin/7z
+       ln -s 7za ${DESTDIR}${PREFIX}/bin/7z
 .endif
        ${INSTALL_DATA} ${WRKSRC}/README \
                ${DESTDIR}${PREFIX}/share/doc/p7zip



Home | Main Index | Thread Index | Old Index