File: install.patch

package info (click to toggle)
pgsql-ogr-fdw 1.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 692 kB
  • sloc: ansic: 4,114; makefile: 62; sql: 36; sh: 15
file content (18 lines) | stat: -rw-r--r-- 535 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix installation of ogr_fdw_info binary.
 It would get installed with the name of the binary directory itself instead of
 bin/ogr_fdw_info.
Last-Update: 2017-02-19
Author: Michael Fladischer <fladi@debian.org>
Forwarded: no

--- a/Makefile
+++ b/Makefile
@@ -79,7 +79,7 @@ clean-exe:
 	rm -f ogr_fdw_info$(X) ogr_fdw_info.o stringbuffer.o
 
 install-exe: all
-	$(INSTALL_PROGRAM) ogr_fdw_info$(X) '$(DESTDIR)$(bindir)'
+	$(INSTALL_PROGRAM) -D ogr_fdw_info$(X) '$(DESTDIR)$(bindir)/ogr_fdw_info'
 
 all: ogr_fdw_info$(X)