File: makefile-debian-prefix.patch

package info (click to toggle)
ptunnel 0.72-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 432 kB
  • sloc: ansic: 1,811; sh: 106; makefile: 46
file content (17 lines) | stat: -rw-r--r-- 454 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Set debian paths
Forwarded: no
Author: Romain Beauxis <toots@rastageeks.org>
Last-Update: 2016-02-13
--- a/Makefile
+++ b/Makefile
@@ -12,8 +12,8 @@ WIN32_CFLAGS = -g -Wall -DWIN32 -I"c:\Pr
 WIN32_LDOPTS = -lwpcap -lwsock32 -L"c:\Program Files\WpdPack\Lib"
 WIN32_PT_OBJS = ptunnel.obj md5.obj
 
-prefix		= /usr
-bindir		= $(prefix)/bin
+prefix		= $(DESTDIR)/usr
+bindir		= $(prefix)/sbin
 mandir		= $(prefix)/share/man/man8
 
 all: ptunnel