pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/geography/osm2pgsql



Module Name:    pkgsrc
Committed By:   gdt
Date:           Fri Mar 13 14:50:41 UTC 2020

Modified Files:
        pkgsrc/geography/osm2pgsql: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/geography/osm2pgsql/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/osm2pgsql/Makefile
diff -u pkgsrc/geography/osm2pgsql/Makefile:1.21 pkgsrc/geography/osm2pgsql/Makefile:1.22
--- pkgsrc/geography/osm2pgsql/Makefile:1.21    Fri Mar 13 13:08:51 2020
+++ pkgsrc/geography/osm2pgsql/Makefile Fri Mar 13 14:50:40 2020
@@ -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-${PKGVERSIO
 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"



Home | Main Index | Thread Index | Old Index