diff options
author | gdt <gdt@pkgsrc.org> | 2020-03-13 14:50:40 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2020-03-13 14:50:40 +0000 |
commit | 91f72f5c421ce936f961133bdf12e90c709110ea (patch) | |
tree | 689b2349b88d6645529022bedd1555b0639bb176 /geography | |
parent | 79d3f8e5fc0e2631084c10711db2dc322e550247 (diff) | |
download | pkgsrc-91f72f5c421ce936f961133bdf12e90c709110ea.tar.gz |
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.
Diffstat (limited to 'geography')
-rw-r--r-- | geography/osm2pgsql/Makefile | 10 |
1 files 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" |