(can be used instead of the geoip module which uses databases which aren't supported any more) - use a simpler construct to fetch the additional github distfiles, use https homepage while there ok robert@
15 lines
456 B
Plaintext
15 lines
456 B
Plaintext
$OpenBSD: patch-ngx_http_geoip2_module_config,v 1.1 2019/11/06 13:05:49 sthen Exp $
|
|
|
|
Index: ngx_http_geoip2_module/config
|
|
--- ngx_http_geoip2_module/config.orig
|
|
+++ ngx_http_geoip2_module/config
|
|
@@ -2,7 +2,7 @@ ngx_feature="MaxmindDB library"
|
|
ngx_feature_name=
|
|
ngx_feature_run=no
|
|
ngx_feature_incs="#include <maxminddb.h>"
|
|
-ngx_feature_libs=-lmaxminddb
|
|
+ngx_feature_libs="-L${LOCALBASE}/lib -lmaxminddb"
|
|
ngx_feature_test="MMDB_s mmdb"
|
|
. auto/feature
|
|
|