pkgsrc/net/vtun/patches/patch-aa
jlam 0fcc5bed2d Buildlink'ify and use the generic INSTALL scripts. Also move the lock
directory to /var/run/vtund.  This mirrors where samba installs its lock
files (/var/run/samba).  Lastly, make the vtund.8 manpage reflect where
everything is really located.
2001-12-21 21:04:23 +00:00

22 lines
601 B
Text

$NetBSD: patch-aa,v 1.3 2001/12/21 21:04:23 jlam Exp $
--- Makefile.in.orig Mon May 29 09:35:11 2000
+++ Makefile.in
@@ -19,7 +19,7 @@
#
CC = @CC@
CFLAGS = @CFLAGS@ @CPPFLAGS@
-LDFLAGS = @LIBS@
+LDFLAGS = @LDFLAGS@ @LIBS@
YACC = @YACC@
YACCFLAGS = -d
@@ -41,7 +41,7 @@
PID_FILE = ${VAR_DIR}/run/vtund.pid
CFG_FILE = ${ETC_DIR}/vtund.conf
STAT_DIR = ${VAR_DIR}/log/vtund
-LOCK_DIR = ${VAR_DIR}/lock/vtund
+LOCK_DIR = ${VAR_DIR}/run/vtund
DEFS = -DVTUN_CONFIG_FILE=\"$(CFG_FILE)\" -DVTUN_PID_FILE=\"$(PID_FILE)\" \
-DVTUN_STAT_DIR=\"$(STAT_DIR)\" -DVTUN_LOCK_DIR=\"$(LOCK_DIR)\"