summaryrefslogtreecommitdiff
path: root/archivers/bzip2
diff options
context:
space:
mode:
authorerh <erh@pkgsrc.org>2003-12-03 16:47:25 +0000
committererh <erh@pkgsrc.org>2003-12-03 16:47:25 +0000
commit20f03a747afea9a019d8890dcd56851b1f54924f (patch)
treede6f6387970ff4863629cb7f89d6106f271f6795 /archivers/bzip2
parentc27fff22f7aeb60147fb5a1dccdafa2154d10ee8 (diff)
downloadpkgsrc-20f03a747afea9a019d8890dcd56851b1f54924f.tar.gz
Use libtool when installing, and install libbz2 first.
Diffstat (limited to 'archivers/bzip2')
-rw-r--r--archivers/bzip2/Makefile8
1 files changed, 4 insertions, 4 deletions
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"