aboutsummaryrefslogtreecommitdiff
path: root/security/vpnc
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2007-08-07 08:12:45 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2007-08-07 08:12:45 +0000
commit73ba0a2dd766ba46a6e87da0953afcdbfb04d1a7 (patch)
tree1377645495a87c46b91be7ced54d7298ff670935 /security/vpnc
parent8ace784cdd4221f82abff48289557617c5e27e1e (diff)
downloadports-73ba0a2dd766ba46a6e87da0953afcdbfb04d1a7.tar.gz
ports-73ba0a2dd766ba46a6e87da0953afcdbfb04d1a7.zip
Notes
Diffstat (limited to 'security/vpnc')
-rw-r--r--security/vpnc/Makefile2
-rw-r--r--security/vpnc/files/patch-Makefile11
2 files changed, 7 insertions, 6 deletions
diff --git a/security/vpnc/Makefile b/security/vpnc/Makefile
index 95292c3e3850..c231b5202814 100644
--- a/security/vpnc/Makefile
+++ b/security/vpnc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vpnc
PORTVERSION= 0.4.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.unix-ag.uni-kl.de/~massar/vpnc/
diff --git a/security/vpnc/files/patch-Makefile b/security/vpnc/files/patch-Makefile
index 7752c81336d0..4fe7fd320930 100644
--- a/security/vpnc/files/patch-Makefile
+++ b/security/vpnc/files/patch-Makefile
@@ -1,7 +1,7 @@
---- Makefile.orig Tue Mar 13 15:58:08 2007
-+++ Makefile Tue Mar 13 15:59:50 2007
+--- ./Makefile.orig 2007-02-19 21:51:12.000000000 +0100
++++ ./Makefile 2007-07-24 16:45:36.000000000 +0200
@@ -20,7 +20,7 @@
- # $Id: patch-Makefile,v 1.5 2007/03/13 15:30:29 lackas Exp $
+ # $Id: Makefile 148 2007-02-19 20:51:14Z Maurice Massar $
DESTDIR=
-PREFIX=/usr/local
@@ -9,12 +9,13 @@
ETCDIR=/etc/vpnc
BINDIR=$(PREFIX)/bin
SBINDIR=$(PREFIX)/sbin
-@@ -34,7 +34,7 @@
+@@ -34,8 +34,7 @@
VERSION := $(shell sh mk-version)
RELEASE_VERSION := $(shell cat VERSION)
-CC=gcc
+-CFLAGS += -W -Wall -O3 -Wmissing-declarations -Wwrite-strings -g
+CC=%%CC%%
- CFLAGS += -W -Wall -O3 -Wmissing-declarations -Wwrite-strings -g
CPPFLAGS = -DVERSION=\"$(VERSION)\"
LDFLAGS = -g $(shell libgcrypt-config --libs)
+ CFLAGS += $(shell libgcrypt-config --cflags)