Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2018 09:02:53 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461566 - head/devel/ptmalloc
Message-ID:  <201802120902.w1C92r2G011519@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Feb 12 09:02:53 2018
New Revision: 461566
URL: https://svnweb.freebsd.org/changeset/ports/461566

Log:
  - Switch to new test framework
  - Simplify
  - Pet portlint

Modified:
  head/devel/ptmalloc/Makefile
  head/devel/ptmalloc/pkg-plist

Modified: head/devel/ptmalloc/Makefile
==============================================================================
--- head/devel/ptmalloc/Makefile	Mon Feb 12 09:02:50 2018	(r461565)
+++ head/devel/ptmalloc/Makefile	Mon Feb 12 09:02:53 2018	(r461566)
@@ -14,23 +14,17 @@ COMMENT=	Alternative threads-aware malloc
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
-USE_LDCONFIG=	yes
-WRKSRC=		${WRKDIR}/${PORTNAME}3
-
 USES=		gmake
+WRKSRC=		${WRKDIR}/${PORTNAME}3
+USE_LDCONFIG=	yes
 ALL_TARGET=	posix
+TEST_TARGET=	check
 
-INCDIR=		include/${PORTNAME}
-PLIST_SUB=	INCDIR=${INCDIR}
-
 do-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/${INCDIR}
-	${INSTALL_DATA} ${WRKSRC}/malloc-2.8.3.h ${STAGEDIR}${PREFIX}/${INCDIR}/malloc.h
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
+	${INSTALL_DATA} ${WRKSRC}/malloc-2.8.3.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}/malloc.h
 	${INSTALL_DATA} ${WRKSRC}/libptmalloc3.a ${STAGEDIR}${PREFIX}/lib/libptmalloc.a
 	${INSTALL_LIB} ${WRKSRC}/ptmalloc3.so ${STAGEDIR}${PREFIX}/lib/libptmalloc.so.3
 	${LN} -sf libptmalloc.so.3 ${STAGEDIR}${PREFIX}/lib/libptmalloc.so
-
-regression-test: build
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
 
 .include <bsd.port.mk>

Modified: head/devel/ptmalloc/pkg-plist
==============================================================================
--- head/devel/ptmalloc/pkg-plist	Mon Feb 12 09:02:50 2018	(r461565)
+++ head/devel/ptmalloc/pkg-plist	Mon Feb 12 09:02:53 2018	(r461566)
@@ -1,4 +1,4 @@
-%%INCDIR%%/malloc.h
+include/ptmalloc/malloc.h
 lib/libptmalloc.a
 lib/libptmalloc.so
 lib/libptmalloc.so.3



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802120902.w1C92r2G011519>