summaryrefslogtreecommitdiff
path: root/graphics/Mesa
diff options
context:
space:
mode:
authorjoerg <joerg>2006-10-09 12:52:34 +0000
committerjoerg <joerg>2006-10-09 12:52:34 +0000
commitb1ec6efee6277c88c10f4d514f1b9ce28d77ef67 (patch)
tree394404a5282788a08d7e1183cc0f35c1b517e24d /graphics/Mesa
parentf0da24841ebace4418bbe664263b9415e23a1837 (diff)
downloadpkgsrc-b1ec6efee6277c88c10f4d514f1b9ce28d77ef67.tar.gz
Flag a number of packages I use as supporting (user-)destdir.
apg is a bit special as it has some hardcoded ownership, so mark that as "destdir".
Diffstat (limited to 'graphics/Mesa')
-rw-r--r--graphics/Mesa/Makefile.common4
-rw-r--r--graphics/Mesa/Makefile.lib4
2 files changed, 5 insertions, 3 deletions
diff --git a/graphics/Mesa/Makefile.common b/graphics/Mesa/Makefile.common
index 33d1b0f2d7d..35e6c9530ed 100644
--- a/graphics/Mesa/Makefile.common
+++ b/graphics/Mesa/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.52 2006/08/01 21:40:19 jlam Exp $
+# $NetBSD: Makefile.common,v 1.53 2006/10/09 12:52:35 joerg Exp $
#
# This Makefile fragment is included either directly or indirectly (through
# Makefile.lib) by all packages that are built from the Mesa sources.
@@ -21,6 +21,8 @@ MESA_VERSION= 6.4.2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mesa3d.org/
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/Mesa-${MESA_VERSION}
BUILDING_MESA= yes
NO_CONFIGURE= yes
diff --git a/graphics/Mesa/Makefile.lib b/graphics/Mesa/Makefile.lib
index 4aeb06e573a..10ab059b885 100644
--- a/graphics/Mesa/Makefile.lib
+++ b/graphics/Mesa/Makefile.lib
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.lib,v 1.1 2006/08/01 21:40:19 jlam Exp $
+# $NetBSD: Makefile.lib,v 1.2 2006/10/09 12:52:35 joerg Exp $
#
# This Makefile fragment is included by all packages that build libraries
# from the Mesa sources.
@@ -48,5 +48,5 @@ Mesa-install-libs:
@for lib in "" ${INSTLIBS}; do \
${TEST} -n "$$lib" || continue; \
${LIBTOOL} --mode=install ${INSTALL_LIB} \
- $$lib ${PREFIX}/lib; \
+ $$lib ${DESTDIR}${PREFIX}/lib; \
done