diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /math/lapack | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'math/lapack')
-rw-r--r-- | math/lapack/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/math/lapack/Makefile b/math/lapack/Makefile index fdd8cb76372..737ac086af1 100644 --- a/math/lapack/Makefile +++ b/math/lapack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2007/12/10 17:50:31 adam Exp $ +# $NetBSD: Makefile,v 1.24 2008/03/04 18:12:59 jlam Exp $ DISTNAME= lapack-lite-3.1.1 PKGNAME= lapack-3.1.1 @@ -13,6 +13,7 @@ HOMEPAGE= http://www.netlib.org/lapack/index.html COMMENT= Linear Algebra PACKage PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_LANGUAGES= c fortran USE_LIBTOOL= YES @@ -22,6 +23,6 @@ INSTALLATION_DIRS= lib do-install: ${LIBTOOL} --mode=install ${INSTALL_DATA} ${WRKSRC}/liblapack.la \ - ${PREFIX}/lib + ${DESTDIR}${PREFIX}/lib .include "../../mk/bsd.pkg.mk" |