diff options
-rw-r--r-- | devel/dmalloc/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/dmalloc/Makefile b/devel/dmalloc/Makefile index 8527c66d798..ec9d9298fc7 100644 --- a/devel/dmalloc/Makefile +++ b/devel/dmalloc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/10/04 21:35:58 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2008/05/23 17:33:37 joerg Exp $ DISTNAME= dmalloc-5.4.2 CATEGORIES= devel @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://dmalloc.com/ COMMENT= Run-time configurable debugging malloc library +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c c++ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-shlib @@ -18,12 +20,14 @@ INFO_FILES= # PLIST INSTALLATION_DIRS= ${PKGINFODIR} +INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} + # XXX the "installinfo" target is broken #INSTALL_TARGET= install installinfo post-install: cd ${WRKSRC}/docs; for f in *.info *.info-[0-9]*; do \ ${TEST} ! -f "$$f" || \ - ${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \ + ${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR}; \ done .include "../../mk/pthread.buildlink3.mk" |