Don't use libtool without --mode argument.

This commit is contained in:
joerg 2009-09-04 13:31:37 +00:00
parent a2ba93cce5
commit e11b042676
3 changed files with 7 additions and 8 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.42 2008/06/01 21:46:37 dholland Exp $
# $NetBSD: Makefile,v 1.43 2009/09/04 13:31:37 joerg Exp $
#
DISTNAME= uudeview-0.5.20
@ -26,16 +26,15 @@ DOCFILES= HISTORY doc/Makefile doc/README doc/binhex.fig \
.include "../../mk/bsd.prefs.mk"
INSTALLATION_DIRS= include lib ${PKGMANDIR}/man3
INSTALLATION_DIRS= include lib ${PKGMANDIR}/man3 share/doc/uulib
do-install:
${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/uulib/libuu.la \
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/uulib/libuu.la \
${DESTDIR:Q}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${DESTDIR:Q}${PREFIX}/include
${SED} -e 's|FUNKYTOKENHERE|${PREFIX}|g' \
< ${FILESDIR}/uulib.3 > ${WRKSRC}/uulib.3
${INSTALL_MAN} ${WRKSRC}/uulib.3 ${DESTDIR:Q}${PREFIX}/${PKGMANDIR}/man3
@${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX}/share/doc/uulib
.for docfile in ${DOCFILES}
@${INSTALL_MAN} ${WRKSRC}/${docfile} \
${DESTDIR:Q}${PREFIX}/share/doc/uulib

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.22 2009/03/02 14:55:05 wiz Exp $
# $NetBSD: Makefile,v 1.23 2009/09/04 13:31:37 joerg Exp $
DISTNAME= cfitsio3100
PKGNAME= cfitsio-3.100
@ -31,7 +31,7 @@ post-build:
do-install:
cd ${WRKSRC}; \
${LIBTOOL} ${INSTALL_DATA} libcfitsio.la ${DESTDIR}${PREFIX}/lib; \
${LIBTOOL} --mode=install ${INSTALL_DATA} libcfitsio.la ${DESTDIR}${PREFIX}/lib; \
${INSTALL_DATA} fitsio.h fitsio2.h longnam.h drvrsmem.h ${DESTDIR}${PREFIX}/include; \
${INSTALL_DATA} cfitsio.pc ${DESTDIR}${PREFIX}/lib/pkgconfig; \
${INSTALL_DATA} fitsio.doc ${DESTDIR}${PREFIX}/share/doc/cfitsio

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.31 2008/03/03 17:45:37 jlam Exp $
# $NetBSD: Makefile,v 1.32 2009/09/04 13:31:37 joerg Exp $
DISTNAME= STLport-4.6
PKGNAME= stlport-4.6
@ -50,7 +50,7 @@ do-install:
libstlport_gcc.la \
libstlport_gcc_stldebug.la; \
do \
${LIBTOOL} ${INSTALL_LIB} ${WRKSRC:Q}/lib/"$$lib" ${DESTDIR}${LIBDIR:Q}; \
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC:Q}/lib/"$$lib" ${DESTDIR}${LIBDIR:Q}; \
done
${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR:Q}
${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR:Q}/images