From 91f72f5c421ce936f961133bdf12e90c709110ea Mon Sep 17 00:00:00 2001 From: gdt Date: Fri, 13 Mar 2020 14:50:40 +0000 Subject: geography/osm2pgsql: cmake build dir cleanup Per pkglint, use a build directory within WRKSRC. Make the relationship between creating the build dir and using it really obvious. --- geography/osm2pgsql/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/geography/osm2pgsql/Makefile b/geography/osm2pgsql/Makefile index b7eff7ad781..3cffcc94d57 100644 --- a/geography/osm2pgsql/Makefile +++ b/geography/osm2pgsql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2020/03/13 13:08:51 gdt Exp $ +# $NetBSD: Makefile,v 1.22 2020/03/13 14:50:40 gdt Exp $ DISTNAME= osm2pgsql-1.2.1 CATEGORIES= geography @@ -14,11 +14,11 @@ WRKSRC= ${WRKDIR}/osm2pgsql-${PKGVERSION_NOREV} USE_CMAKE= yes USE_LANGUAGES= c c++ -CONFIGURE_DIRS= ${WRKDIR}/build -CMAKE_ARG_PATH= ${WRKSRC} - +# osm2pgsql does not allow srcdir builds (and separate is better anyway) post-extract: - ${RUN} mkdir -p ${WRKDIR}/build + ${RUN} mkdir -p ${WRKSRC}/build +CONFIGURE_DIRS= build +CMAKE_ARG_PATH= ${WRKSRC} .include "../../geography/proj/buildlink3.mk" .include "../../archivers/bzip2/buildlink3.mk" -- cgit v1.2.3