summaryrefslogtreecommitdiff
path: root/graphics/gdk-pixbuf
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-20 01:09:05 +0000
committerjoerg <joerg>2008-06-20 01:09:05 +0000
commit7d15c2c527b0cb171788f5360a5baca8cd9db73e (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /graphics/gdk-pixbuf
parent534b5bd9ce0ca747418c84f41f29a7fd1e7121a2 (diff)
downloadpkgsrc-7d15c2c527b0cb171788f5360a5baca8cd9db73e.tar.gz
Add DESTDIR support.
Diffstat (limited to 'graphics/gdk-pixbuf')
-rw-r--r--graphics/gdk-pixbuf/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/graphics/gdk-pixbuf/Makefile b/graphics/gdk-pixbuf/Makefile
index 3ef58e8cea9..93bbcefd732 100644
--- a/graphics/gdk-pixbuf/Makefile
+++ b/graphics/gdk-pixbuf/Makefile
@@ -1,5 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2007/08/10 20:43:17 gdt Exp $
+# $NetBSD: Makefile,v 1.37 2008/06/20 01:09:21 joerg Exp $
#
+PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
@@ -18,9 +19,6 @@ post-configure:
${MV} ${WRKSRC}/.tmp ${WRKSRC}/Makefile
post-install:
- ${TEST} ${PREFIX} = ${LOCALBASE} || \
- ${LN} -fs ${PREFIX}/share/aclocal/gdk-pixbuf.m4 \
- ${LOCALBASE}/share/aclocal/gdk-pixbuf.m4
- ${RM} ${PREFIX}/lib/gnomecanvaspixbufConf.sh
+ ${RM} ${DESTDIR}${PREFIX}/lib/gnomecanvaspixbufConf.sh
.include "../../mk/bsd.pkg.mk"