blob: 1375ba383bd754b1a863f0276108e781d31e4010 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- Makefile.orig 2020-10-28 21:03:38 UTC
+++ Makefile
@@ -41,7 +41,7 @@ $(BUILDDIR):
mkdir -p $(BUILDDIR)
$(BUILDDIR)/geoipupdate: $(BUILDDIR)
- (cd cmd/geoipupdate && go build -ldflags '-X main.defaultConfigFile=$(CONFFILE) -X main.defaultDatabaseDirectory=$(DATADIR) -X "main.version=$(VERSION)"')
+ (cd cmd/geoipupdate && go build -mod=vendor -ldflags '-X main.defaultConfigFile=$(CONFFILE) -X main.defaultDatabaseDirectory=$(DATADIR) -X "main.version=$(VERSION)"')
cp cmd/geoipupdate/geoipupdate $(BUILDDIR)
$(BUILDDIR)/GeoIP.conf: $(BUILDDIR) conf/GeoIP.conf.default
@@ -54,7 +54,6 @@ $(BUILDDIR)/geoipupdate.md: $(BUILDDIR) doc/geoipupdat
sed -e 's|CONFFILE|$(CONFFILE)|g' -e 's|DATADIR|$(DATADIR)|g' -e 's|$$|$(MAYBE_CR)|g' doc/geoipupdate.md > $(BUILDDIR)/geoipupdate.md
$(BUILDDIR)/GeoIP.conf.5: $(BUILDDIR)/GeoIP.conf.md $(BUILDDIR)/geoipupdate.md
- dev-bin/make-man-pages.pl "$(BUILDDIR)"
$(BUILDDIR)/geoipupdate.1: $(BUILDDIR)/GeoIP.conf.5
|