aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libdlmalloc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libdlmalloc')
-rw-r--r--devel/libdlmalloc/Makefile1
-rw-r--r--devel/libdlmalloc/files/Makefile12
2 files changed, 6 insertions, 7 deletions
diff --git a/devel/libdlmalloc/Makefile b/devel/libdlmalloc/Makefile
index 4f181e456732..64ea609fffe7 100644
--- a/devel/libdlmalloc/Makefile
+++ b/devel/libdlmalloc/Makefile
@@ -13,7 +13,6 @@ COMMENT= Small, fast malloc library by Doug Lea
NO_WRKSUBDIR= yes
USE_LDCONFIG= yes
-NO_STAGE= yes
do-extract:
@${MKDIR} ${WRKDIR}
.for f in ${DISTFILES}
diff --git a/devel/libdlmalloc/files/Makefile b/devel/libdlmalloc/files/Makefile
index eaafc81b8d57..6185abd96692 100644
--- a/devel/libdlmalloc/files/Makefile
+++ b/devel/libdlmalloc/files/Makefile
@@ -56,12 +56,12 @@ clean:
-rm -f *.o \#* *~ *.core a.out gmon.out mon.out onefile.c *.sL prof.out
install:
- install -c -m 644 ${LIBMALLOC} $(LIBDIR)
- -$(RANLIB) $(LIBDIR)/${LIBMALLOC}
- install -c -m 444 ${LIBSMALLOC} $(LIBDIR)
- ln -sf ${LIBSMALLOC} $(LIBDIR)/libdlmalloc.so
- mkdir -p ${INCDIR}
- install -c -m 444 malloc-${VER}.h ${INCDIR}/malloc.h
+ install -c -m 644 ${LIBMALLOC} $(DESTDIR)$(LIBDIR)
+ -$(RANLIB) $(DESTDIR)$(LIBDIR)/${LIBMALLOC}
+ install -c -m 444 ${LIBSMALLOC} $(DESTDIR)$(LIBDIR)
+ ln -sf ${LIBSMALLOC} $(DESTDIR)$(LIBDIR)/libdlmalloc.so
+ mkdir -p $(DESTDIR)${INCDIR}
+ install -c -m 444 malloc-${VER}.h $(DESTDIR)${INCDIR}/malloc.h
$(OBJS): $(SRCS)
$(SOBJS): $(SRCS)