Subject: CVS commit: pkgsrc/pkgtools/pkg_install
From: Jonathan Perkin
Date: 2015-01-22 10:19:47
Message id: 20150122091947.D9B8A98@cvs.netbsd.org

Log Message:
Move -larchive from the general LIBS variable to each program that needs it,
prevents us from attempting to link the inplace libarchive against itself.
Fixes build on systems which do not include a native libarchive, and avoids
possible issues on systems which do.

Tested on SmartOS (no native libarchive) and OS X in both builtin and pkgsrc
configurations.  Ok joerg@.

Files:
RevisionActionfile
1.206modifypkgsrc/pkgtools/pkg_install/Makefile
1.29modifypkgsrc/pkgtools/pkg_install/files/add/Makefile.in
1.27modifypkgsrc/pkgtools/pkg_install/files/admin/Makefile.in
1.25modifypkgsrc/pkgtools/pkg_install/files/create/Makefile.in
1.22modifypkgsrc/pkgtools/pkg_install/files/delete/Makefile.in
1.28modifypkgsrc/pkgtools/pkg_install/files/info/Makefile.in