pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/bzip2 Use libtool when installing, and insta...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa1b084df35d
branches:  trunk
changeset: 464032:aa1b084df35d
user:      erh <erh%pkgsrc.org@localhost>
date:      Wed Dec 03 16:47:25 2003 +0000

description:
Use libtool when installing, and install libbz2 first.

diffstat:

 archivers/bzip2/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r e862b447baf5 -r aa1b084df35d archivers/bzip2/Makefile
--- a/archivers/bzip2/Makefile  Wed Dec 03 16:31:31 2003 +0000
+++ b/archivers/bzip2/Makefile  Wed Dec 03 16:47:25 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2003/09/25 20:38:45 grant Exp $
+# $NetBSD: Makefile,v 1.27 2003/12/03 16:47:25 erh Exp $
 #
 
 DISTNAME=      bzip2-1.0.2
@@ -22,16 +22,16 @@
 MAKE_ENV+=             BZIP_CFLAGS="${BZIP_CFLAGS}"
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/bzip2 ${PREFIX}/bin
+       ${LIBTOOL} --mode=install ${INSTALL_DATA} ${WRKSRC}/libbz2.la ${PREFIX}/lib
+       ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/bzip2 ${PREFIX}/bin
        ${LN} -f ${PREFIX}/bin/bzip2 ${PREFIX}/bin/bunzip2
        ${LN} -f ${PREFIX}/bin/bzip2 ${PREFIX}/bin/bzcat
-       ${INSTALL_PROGRAM} ${WRKSRC}/bzip2recover ${PREFIX}/bin
+       ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/bzip2recover ${PREFIX}/bin
        ${INSTALL_MAN} ${WRKSRC}/bzip2.1 ${PREFIX}/man/man1
        ${RM} -f ${PREFIX}/man/man1/bunzip2.1 ${PREFIX}/man/man1/bzcat.1 ${PREFIX}/man/man1/bzip2recover.1
        ${LN} -s ${PREFIX}/man/man1/bzip2.1 ${PREFIX}/man/man1/bunzip2.1
        ${LN} -s ${PREFIX}/man/man1/bzip2.1 ${PREFIX}/man/man1/bzcat.1
        ${LN} -s ${PREFIX}/man/man1/bzip2.1 ${PREFIX}/man/man1/bzip2recover.1
        ${INSTALL_DATA} ${WRKSRC}/bzlib.h ${PREFIX}/include
-       ${LIBTOOL} --mode=install ${INSTALL_DATA} ${WRKSRC}/libbz2.la ${PREFIX}/lib
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index