pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/minpack Support staged installation.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eedf23749ca4
branches:  trunk
changeset: 568359:eedf23749ca4
user:      asau <asau%pkgsrc.org@localhost>
date:      Fri Dec 11 18:10:56 2009 +0000

description:
Support staged installation.

diffstat:

 math/minpack/Makefile       |  3 ++-
 math/minpack/files/Makefile |  2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 1ea5ec8c8916 -r eedf23749ca4 math/minpack/Makefile
--- a/math/minpack/Makefile     Fri Dec 11 17:47:28 2009 +0000
+++ b/math/minpack/Makefile     Fri Dec 11 18:10:56 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2009/12/03 13:06:55 asau Exp $
+# $NetBSD: Makefile,v 1.14 2009/12/11 18:10:56 asau Exp $
 
 DISTNAME=              minpack-20001130
 PKGREVISION=           2
@@ -9,6 +9,7 @@
 COMMENT=               FORTRAN 77 library for the solution of nonlinear equations
 
 NO_SRC_ON_FTP=         Already in MASTER_SITE_LOCAL
+PKG_DESTDIR_SUPPORT=   user-destdir
 USE_LANGUAGES=         fortran
 WRKSRC=                        ${WRKDIR}/minpack
 
diff -r 1ea5ec8c8916 -r eedf23749ca4 math/minpack/files/Makefile
--- a/math/minpack/files/Makefile       Fri Dec 11 17:47:28 2009 +0000
+++ b/math/minpack/files/Makefile       Fri Dec 11 18:10:56 2009 +0000
@@ -16,7 +16,7 @@
        $(RANLIB) $@
 
 install:       lib$(LIB).a
-       $(BSD_INSTALL_DATA) $? $(LIBDIR)
+       $(BSD_INSTALL_DATA) $? $(DESTDIR)$(LIBDIR)
 
 clean:
        rm -f *.o lib$(LIB).a



Home | Main Index | Thread Index | Old Index