1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Make port fully respect CFLAGS

- Don't build with debug symbols
- Bump PORTREVISION

PR:		114863
Approved by:	maintainer timeout (14 days)
This commit is contained in:
Emanuel Haupt 2007-08-07 08:12:45 +00:00
parent 8ace784cdd
commit 73ba0a2dd7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197260
2 changed files with 7 additions and 6 deletions

View File

@ -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/

View File

@ -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)