pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/mapserver



Module Name:    pkgsrc
Committed By:   gdt
Date:           Mon Nov 11 13:03:16 UTC 2024

Modified Files:
        pkgsrc/geography/mapserver: options.mk

Log Message:
geography/mapserver: Fix postgis option

Really the package needs the postgresql client library.   The server
(surely) needs postgis, but that might or might not be on this
machine.   Therefore, simply bl3 on pgsql (client).


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/geography/mapserver/options.mk

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

Modified files:

Index: pkgsrc/geography/mapserver/options.mk
diff -u pkgsrc/geography/mapserver/options.mk:1.10 pkgsrc/geography/mapserver/options.mk:1.11
--- pkgsrc/geography/mapserver/options.mk:1.10  Thu Aug 22 16:58:00 2024
+++ pkgsrc/geography/mapserver/options.mk       Mon Nov 11 13:03:16 2024
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.10 2024/08/22 16:58:00 gdt Exp $
+# $NetBSD: options.mk,v 1.11 2024/11/11 13:03:16 gdt Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mapserver
 PKG_SUPPORTED_OPTIONS= fastcgi pgsql mysql
@@ -21,9 +21,9 @@ CMAKE_CONFIGURE_ARGS+=                -DWITH_FCGI=OFF
 # PostgreSQL/PostGIS support
 #
 .if !empty(PKG_OPTIONS:Mpgsql)
-# \todo Explain why this is bl3 rather than DEPENDS.  It doesn't make
-# sense, given how postgis works.
-.include "../../databases/postgresql-postgis2/buildlink3.mk"
+# The server needs postgis, but mapserv needs only postgresql client
+# libraries.
+.include "../../mk/pgsql.buildlink3.mk"
 CMAKE_CONFIGURE_ARGS+=         -DWITH_POSTGIS=ON
 .else
 CMAKE_CONFIGURE_ARGS+=         -DWITH_POSTGIS=OFF



Home | Main Index | Thread Index | Old Index