depot/third_party/nixpkgs/pkgs/tools/networking/vpnc/makefile.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
585 B
Diff

--- vpnc-0.5.1.orig/Makefile 2008-02-10 22:22:43.000000000 +0100
+++ vpnc-0.5.1/Makefile 2008-02-10 22:22:32.000000000 +0100
@@ -20,8 +20,8 @@
# $Id: Makefile 236 2007-09-05 20:40:59Z Joerg Mayer $
DESTDIR=
-PREFIX=/usr/local
-ETCDIR=/etc/vpnc
+PREFIX=$(out)
+ETCDIR=$(out)/etc/vpnc
BINDIR=$(PREFIX)/bin
SBINDIR=$(PREFIX)/sbin
MANDIR=$(PREFIX)/share/man
@@ -71,7 +71,7 @@
$(CC) -o $@ $^ $(LDFLAGS)
vpnc.8 : vpnc.8.template makeman.pl vpnc
- ./makeman.pl
+ perl makeman.pl
cisco-decrypt : cisco-decrypt.o config.o supp.o sysdep.o vpnc-debug.o
$(CC) -o $@ $^ $(LDFLAGS)