pkgsrc-wip/ptunnel/patches/patch-aa
pancake ;) fc88dc7759 initial import of ptunnel:
Ptunnel is an application that allows you to reliably tunnel TCP connections
to a remote host using ICMP echo request and reply packets, commonly known as
ping requests and replies.
2005-05-14 02:44:39 +00:00

21 lines
515 B
Text

--- Makefile.orig 2005-04-17 17:06:46.000000000 +0200
+++ Makefile 2005-05-14 04:39:52.315452648 +0200
@@ -1,13 +1,13 @@
# Makefile for the pingtunnel utility
# (c) 2004-2005 Daniel Stødle, daniels@stud.cs.uit.no
-CC = gcc
-CFLAGS = -Wall -g
-LDOPTS = -lpthread -lpcap
+CC ?= gcc
+CFLAGS ?= -Wall -g
+LDOPTS += -lpthread -lpcap
PT_OBJS = ptunnel.o md5.o
-prefix = /usr
+prefix = ${PREFIX}
bindir = $(prefix)/bin
-mandir = $(prefix)/share/man/man8
+mandir = $(prefix)/man/man8
all: ptunnel