File: 00git-vpath2.patch

package info (click to toggle)
postgresql-9.1 9.1.15-0%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 109,092 kB
  • sloc: ansic: 575,877; sql: 43,887; yacc: 26,399; perl: 6,352; lex: 6,171; sh: 5,282; makefile: 3,772; asm: 65; sed: 15; python: 12
file content (22 lines) | stat: -rw-r--r-- 724 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
commit 82b0102650cf85268145a46f0ab488bacf6599a1
Author: Andrew Dunstan <andrew@dunslane.net>
Date:   Wed Jul 3 19:03:31 2013 -0400

    Install all a Makefile's extension controls, not just the first.
    
    Bug introduced by commit 6697aa2bc25c83b88d6165340348a31328c35de6 and
    reported by Robert Haas.

diff --git a/src/makefiles/pgxs.mk b/src/makefiles/pgxs.mk
index f4eaa74..8618aa1 100644
--- a/src/makefiles/pgxs.mk
+++ b/src/makefiles/pgxs.mk
@@ -134,7 +134,7 @@ endif # PROGRAM
 
 installcontrol: $(addsuffix .control, $(EXTENSION))
 ifneq (,$(EXTENSION))
-	$(INSTALL_DATA) $< '$(DESTDIR)$(datadir)/extension/'
+	$(INSTALL_DATA) $^ '$(DESTDIR)$(datadir)/extension/'
 endif
 
 installdata: $(DATA) $(DATA_built)