summaryrefslogtreecommitdiff
path: root/benchmarks/zelibm
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 00:51:43 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 00:51:43 +0000
commit075003a60c727330726570ab7674a2ee12c5654f (patch)
treecdb67462b5541a6566af441ea620d49ad326d24e /benchmarks/zelibm
parentbd579f3497266e46fb3a16428bf69c529a427d58 (diff)
downloadpkgsrc-075003a60c727330726570ab7674a2ee12c5654f.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'benchmarks/zelibm')
-rw-r--r--benchmarks/zelibm/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/benchmarks/zelibm/Makefile b/benchmarks/zelibm/Makefile
index 84b3a2b69af..e0ebc65960f 100644
--- a/benchmarks/zelibm/Makefile
+++ b/benchmarks/zelibm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/01/26 21:56:40 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/03 00:51:44 jlam Exp $
#
DISTNAME= zelibm
@@ -11,10 +11,12 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://people.redhat.com/drepper/libm/
COMMENT= Visual Math Library Quality Check
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/libmtest ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/libmtest ${DESTDIR}${PREFIX}/bin
.include "../../devel/gmp/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"