diff options
Diffstat (limited to 'security/vpnc/files/patch-Makefile')
-rw-r--r-- | security/vpnc/files/patch-Makefile | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/security/vpnc/files/patch-Makefile b/security/vpnc/files/patch-Makefile index 85eea5c9e12f..e95c48774770 100644 --- a/security/vpnc/files/patch-Makefile +++ b/security/vpnc/files/patch-Makefile @@ -1,7 +1,7 @@ ---- Makefile.orig 2007-09-06 22:05:15.000000000 +0200 -+++ Makefile 2008-02-29 21:58:37.000000000 +0100 -@@ -20,14 +20,14 @@ - # $Id: Makefile 236 2007-09-05 20:40:59Z Joerg Mayer $ +--- Makefile.orig 2008-11-19 21:36:12.000000000 +0100 ++++ Makefile 2008-11-24 01:21:22.000000000 +0100 +@@ -20,15 +20,15 @@ + # $Id: Makefile 312 2008-06-15 18:09:42Z Joerg Mayer $ DESTDIR= -PREFIX=/usr/local @@ -11,14 +11,15 @@ BINDIR=$(PREFIX)/bin SBINDIR=$(PREFIX)/sbin MANDIR=$(PREFIX)/share/man + DOCDIR=$(PREFIX)/share/doc/vpnc - SRCS = sysdep.c vpnc-debug.c isakmp-pkt.c tunip.c config.c dh.c math_group.c supp.c + SRCS = sysdep.c vpnc-debug.c isakmp-pkt.c tunip.c config.c dh.c math_group.c supp.c decrypt-utils.c -BINS = vpnc cisco-decrypt +BINS += vpnc OBJS = $(addsuffix .o,$(basename $(SRCS))) BINOBJS = $(addsuffix .o,$(BINS)) BINSRCS = $(addsuffix .c,$(BINS)) -@@ -49,9 +49,9 @@ +@@ -50,9 +50,7 @@ #OPENSSL_GPL_VIOLATION = -DOPENSSL_GPL_VIOLATION #OPENSSLLIBS = -lcrypto @@ -26,15 +27,13 @@ -CFLAGS ?= -O3 -g -CFLAGS += -W -Wall -Wmissing-declarations -Wwrite-strings +CC?=gcc -+#CFLAGS ?= -O3 -g -+#CFLAGS += -W -Wall -Wmissing-declarations -Wwrite-strings CFLAGS += $(shell libgcrypt-config --cflags) CPPFLAGS += -DVERSION=\"$(VERSION)\" $(OPENSSL_GPL_VIOLATION) LDFLAGS ?= -g -@@ -74,7 +74,7 @@ - ./makeman.pl +@@ -78,7 +76,7 @@ + sed -e 's,@''PREFIX''@,$(PREFIX),g' $< > $@ && chmod 755 $@ - cisco-decrypt : cisco-decrypt.o config.o supp.o sysdep.o vpnc-debug.o + cisco-decrypt : cisco-decrypt.o decrypt-utils.o - $(CC) -o $@ $^ $(LDFLAGS) + $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) |