Date: Tue, 24 Jul 2007 16:52:25 +0200 (CEST) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/114863: [patch] security/vpnc - make port fully respect CFLAGS Message-ID: <200707241452.l6OEqPIP098886@freefall.freebsd.org> Resent-Message-ID: <200707241500.l6OF06fc099036@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114863 >Category: ports >Synopsis: [patch] security/vpnc - make port fully respect CFLAGS >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Jul 24 15:00:06 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Emanuel Haupt >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD freefall.freebsd.org 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jul 13 03:43:15 UTC 2007 peter@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386 >Description: Port does not fully respect CFLAGS. It's using -O3 and -g. >How-To-Repeat: >Fix: --- vpnc.patch begins here --- Index: files/patch-Makefile =================================================================== RCS file: /home/pcvs/ports/security/vpnc/files/patch-Makefile,v retrieving revision 1.5 diff -u -r1.5 patch-Makefile --- files/patch-Makefile 16 Mar 2007 11:24:04 -0000 1.5 +++ files/patch-Makefile 24 Jul 2007 14:48:59 -0000 @@ -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) --- vpnc.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707241452.l6OEqPIP098886>