File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 4
4
# Makefile for the timezone library
5
5
6
6
# IDENTIFICATION
7
- # $PostgreSQL: pgsql/src/timezone/Makefile,v 1.30 2009/01/05 10 :25:59 petere Exp $
7
+ # $PostgreSQL: pgsql/src/timezone/Makefile,v 1.31 2009/01/06 02 :25:29 momjian Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -38,12 +38,20 @@ ifeq (,$(with_system_tzdata))
38
38
all : submake-libpgport zic
39
39
endif
40
40
41
+ # We could do this test in the action section:
42
+ # $(if $(ZIC),$(ZIC),./zic)
43
+ # but gmake versions <= 3.78.1 or perhaps later have a bug
44
+ # that causes a segfault; gmake 3.81 or later fixes this.
45
+ ifeq (,$(ZIC ) )
46
+ ZIC = ./zic
47
+ endif
48
+
41
49
zic : $(ZICOBJS )
42
50
$(CC ) $(CFLAGS ) $(ZICOBJS ) $(LDFLAGS ) $(LIBS ) -o $@ $(X )
43
51
44
52
install : all installdirs
45
53
ifeq (,$(with_system_tzdata ) )
46
- $(if $( ZIC),$(ZIC),./zic ) -d '$(DESTDIR)$(datadir)/timezone' -p '$(POSIXRULES)' $(TZDATAFILES)
54
+ $(ZIC) -d '$(DESTDIR)$(datadir)/timezone' -p '$(POSIXRULES)' $(TZDATAFILES)
47
55
endif
48
56
$(MAKE) -C tznames $@
49
57
You can’t perform that action at this time.
0 commit comments