aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-25 08:35:28 +0800
committerbapt <bapt@FreeBSD.org>2014-01-25 08:35:28 +0800
commit0ad8f206d6033dbe2c057dcb98de60d48013ece3 (patch)
tree5a5eba7bb43586bf51025377151056d920e84512
parent499269261f78173e116c2f89f3d948320f107813 (diff)
downloadfreebsd-ports-gnome-0ad8f206d6033dbe2c057dcb98de60d48013ece3.tar.gz
freebsd-ports-gnome-0ad8f206d6033dbe2c057dcb98de60d48013ece3.tar.zst
freebsd-ports-gnome-0ad8f206d6033dbe2c057dcb98de60d48013ece3.zip
Support stage
-rw-r--r--devel/ptmalloc2/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/devel/ptmalloc2/Makefile b/devel/ptmalloc2/Makefile
index 405e942ac0e6..6b03d8f31694 100644
--- a/devel/ptmalloc2/Makefile
+++ b/devel/ptmalloc2/Makefile
@@ -13,21 +13,20 @@ COMMENT= Alternative threads-aware malloc
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_GMAKE= yes
+USES= gmake
ALL_TARGET= posix
INCDIR= include/${PORTNAME}
PLIST_SUB= INCDIR=${INCDIR}
-do-install: all
- ${MKDIR} ${PREFIX}/${INCDIR}
- ${INSTALL_DATA} ${WRKSRC}/malloc.h ${PREFIX}/${INCDIR}/
- ${INSTALL_DATA} ${WRKSRC}/libmalloc.a ${PREFIX}/lib/libptmalloc2.a
- ${INSTALL_DATA} ${WRKSRC}/malloc.so ${PREFIX}/lib/libptmalloc2.so.0
- ${LN} -s ${PREFIX}/lib/libptmalloc.so.0 ${PREFIX}/lib/libptmalloc2.so
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${INCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/malloc.h ${STAGEDIR}${PREFIX}/${INCDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/libmalloc.a ${STAGEDIR}${PREFIX}/lib/libptmalloc2.a
+ ${INSTALL_DATA} ${WRKSRC}/malloc.so ${STAGEDIR}${PREFIX}/lib/libptmalloc2.so.0
+ ${LN} -s libptmalloc.so.0 ${STAGEDIR}${PREFIX}/lib/libptmalloc2.so
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
-NO_STAGE= yes
.include <bsd.port.mk>