View | Details | Raw Unified | Return to bug 114863
Collapse All | Expand All

(-)files/patch-Makefile (-5 / +6 lines)
Lines 1-7 Link Here
1
--- Makefile.orig	Tue Mar 13 15:58:08 2007
1
--- ./Makefile.orig	2007-02-19 21:51:12.000000000 +0100
2
+++ Makefile	Tue Mar 13 15:59:50 2007
2
+++ ./Makefile	2007-07-24 16:45:36.000000000 +0200
3
@@ -20,7 +20,7 @@
3
@@ -20,7 +20,7 @@
4
 # $Id: patch-Makefile,v 1.5 2007/03/13 15:30:29 lackas Exp $
4
 # $Id: Makefile 148 2007-02-19 20:51:14Z Maurice Massar $
5
 
5
 
6
 DESTDIR=
6
 DESTDIR=
7
-PREFIX=/usr/local
7
-PREFIX=/usr/local
Lines 9-20 Link Here
9
 ETCDIR=/etc/vpnc
9
 ETCDIR=/etc/vpnc
10
 BINDIR=$(PREFIX)/bin
10
 BINDIR=$(PREFIX)/bin
11
 SBINDIR=$(PREFIX)/sbin
11
 SBINDIR=$(PREFIX)/sbin
12
@@ -34,7 +34,7 @@
12
@@ -34,8 +34,7 @@
13
 VERSION := $(shell sh mk-version)
13
 VERSION := $(shell sh mk-version)
14
 RELEASE_VERSION := $(shell cat VERSION)
14
 RELEASE_VERSION := $(shell cat VERSION)
15
 
15
 
16
-CC=gcc
16
-CC=gcc
17
-CFLAGS += -W -Wall -O3 -Wmissing-declarations -Wwrite-strings -g
17
+CC=%%CC%%
18
+CC=%%CC%%
18
 CFLAGS += -W -Wall -O3 -Wmissing-declarations -Wwrite-strings -g
19
 CPPFLAGS = -DVERSION=\"$(VERSION)\"
19
 CPPFLAGS = -DVERSION=\"$(VERSION)\"
20
 LDFLAGS = -g $(shell libgcrypt-config --libs)
20
 LDFLAGS = -g $(shell libgcrypt-config --libs)
21
 CFLAGS +=  $(shell libgcrypt-config --cflags)

Return to bug 114863