summaryrefslogtreecommitdiff
path: root/math/lapack/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 17:57:17 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 17:57:17 +0000
commita80fd13efc426f96e55870df48a2030daea0f14b (patch)
treeea772f1017a149bdf8c86107c24d16246695614e /math/lapack/Makefile
parent31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff)
downloadpkgsrc-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/Makefile')
-rw-r--r--math/lapack/Makefile5
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"