pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/bzip2 bzip2: Do not use hardlink for Haiku



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7abaf36876e2
branches:  trunk
changeset: 448815:7abaf36876e2
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Mar 15 14:21:14 2021 +0000

description:
bzip2: Do not use hardlink for Haiku

Haiku R1/beta2 does not support hardlink.

diffstat:

 archivers/bzip2/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 08d402ae7f25 -r 7abaf36876e2 archivers/bzip2/Makefile
--- a/archivers/bzip2/Makefile  Mon Mar 15 14:20:01 2021 +0000
+++ b/archivers/bzip2/Makefile  Mon Mar 15 14:21:14 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2019/07/21 11:51:24 nia Exp $
+# $NetBSD: Makefile,v 1.56 2021/03/15 14:21:14 ryoon Exp $
 #
 
 DISTNAME=      bzip2-1.0.8
@@ -31,8 +31,8 @@
 do-install:
        ${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/libbz2.la ${DESTDIR}${PREFIX}/lib
        ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/bzip2 ${DESTDIR}${PREFIX}/bin
-       ${LN} -f ${DESTDIR}${PREFIX}/bin/bzip2 ${DESTDIR}${PREFIX}/bin/bunzip2
-       ${LN} -f ${DESTDIR}${PREFIX}/bin/bzip2 ${DESTDIR}${PREFIX}/bin/bzcat
+       ${LN} -f${WRAPPER_USE_SYMLINK:Ds} ${DESTDIR}${PREFIX}/bin/bzip2 ${DESTDIR}${PREFIX}/bin/bunzip2
+       ${LN} -f${WRAPPER_USE_SYMLINK:Ds} ${DESTDIR}${PREFIX}/bin/bzip2 ${DESTDIR}${PREFIX}/bin/bzcat
        ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/bzip2recover ${DESTDIR}${PREFIX}/bin
        ${INSTALL_MAN} ${WRKSRC}/bzip2.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
        cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && rm -f bunzip2.1 bzcat.1 bzip2recover.1



Home | Main Index | Thread Index | Old Index