summaryrefslogtreecommitdiff
path: root/graphics/lprof
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-06-05 06:06:10 +0000
committerobache <obache@pkgsrc.org>2011-06-05 06:06:10 +0000
commitfbf525b65b8c25b694efbfe0bc0f60c65dfe8c1f (patch)
tree5dd3ba6e9e1fbc7c88c7c03bdece6ba2ce72a9fc /graphics/lprof
parent42e374f5025f505e3d9e75beeac2fd26fa690aa3 (diff)
downloadpkgsrc-fbf525b65b8c25b694efbfe0bc0f60c65dfe8c1f.tar.gz
Add user-destdir installation support.
Diffstat (limited to 'graphics/lprof')
-rw-r--r--graphics/lprof/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/lprof/Makefile b/graphics/lprof/Makefile
index 0dae71b16c6..79093923092 100644
--- a/graphics/lprof/Makefile
+++ b/graphics/lprof/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2011/01/13 13:38:11 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2011/06/05 06:06:10 obache Exp $
#
DISTNAME= lprof-1.10.1
@@ -12,11 +12,17 @@ COMMENT= ICC Profile generation tool (for IT8.7 targets)
MAKE_JOBS_SAFE= no
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
-MAKE_ENV+= BASEDIR=${PREFIX:Q} QTDIR=${PREFIX}/qt3
+MAKE_ENV+= BASEDIR=${PREFIX:Q}
MAKE_ENV+= LDFLAGS=${LDFLAGS:M*:Q}
+# mis-usage of ${DESTDIR}
+DESTDIR_VARNAME= #empty
+INSTALL_MAKE_FLAGS+= BASEDIR=${DESTDIR}${PREFIX}
+
PTHREAD_AUTO_VARS= yes
.include "../../x11/qt3-libs/buildlink3.mk"