aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2007-08-07 16:12:45 +0800
committerehaupt <ehaupt@FreeBSD.org>2007-08-07 16:12:45 +0800
commit17a2516e687929c3b55754c61fac058886eabe20 (patch)
tree27fc9cb90dbe1c84cfa0d2e645183a0e07c3bcca /security
parent2785be334f61c412de8320fd5a09d75c27d4b2ee (diff)
downloadfreebsd-ports-gnome-17a2516e687929c3b55754c61fac058886eabe20.tar.gz
freebsd-ports-gnome-17a2516e687929c3b55754c61fac058886eabe20.tar.zst
freebsd-ports-gnome-17a2516e687929c3b55754c61fac058886eabe20.zip
- Make port fully respect CFLAGS
- Don't build with debug symbols - Bump PORTREVISION PR: 114863 Approved by: maintainer timeout (14 days)
Diffstat (limited to 'security')
-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)