packages/net/ptunnel/patches/001-prefix.patch

14 lines
340 B
Diff
Raw Normal View History

--- 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