From 20f03a747afea9a019d8890dcd56851b1f54924f Mon Sep 17 00:00:00 2001 From: erh Date: Wed, 3 Dec 2003 16:47:25 +0000 Subject: Use libtool when installing, and install libbz2 first. --- archivers/bzip2/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'archivers/bzip2') diff --git a/archivers/bzip2/Makefile b/archivers/bzip2/Makefile index 700c11611da..b2d822d982e 100644 --- a/archivers/bzip2/Makefile +++ b/archivers/bzip2/Makefile @@ -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 @@ BZIP_CFLAGS= -Wall -Winline -fomit-frame-pointer -fno-strength-reduce 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" -- cgit v1.2.3