diff options
author | joerg <joerg@pkgsrc.org> | 2015-03-31 15:11:16 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-03-31 15:11:16 +0000 |
commit | 2ac360688b7cf0e4e79056bbd845711afe017fc3 (patch) | |
tree | 2559f1e800c464584726647063471f1026d18e58 /devel/cmocka | |
parent | 2e105bb6342f5a5aab06f42402660b9cb9016657 (diff) | |
download | pkgsrc-2ac360688b7cf0e4e79056bbd845711afe017fc3.tar.gz |
Relocate build under ${WRKSRC} to simplify patching. Create build
directory in post-extract.
Diffstat (limited to 'devel/cmocka')
-rw-r--r-- | devel/cmocka/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/cmocka/Makefile b/devel/cmocka/Makefile index 42421270e24..e329af9f508 100644 --- a/devel/cmocka/Makefile +++ b/devel/cmocka/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2015/02/27 04:23:43 manu Exp $ +# $NetBSD: Makefile,v 1.2 2015/03/31 15:11:16 joerg Exp $ DISTNAME= cmocka-1.0.0 CATEGORIES= devel @@ -13,10 +13,10 @@ LICENSE= apache-2.0 FETCH_USING= curl USE_CMAKE= yes -WRKSRC= ${WRKDIR}/build +WRKSRC= ${WRKDIR}/${DISTNAME}/build CMAKE_ARG_PATH= ${WRKDIR}/${DISTNAME} -pre-configure: +post-extract: mkdir -p ${WRKSRC} rm -f ${WRKDIR}/${DISTNAME}/CMakeCache.txt |