From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/fwlogwatch/files: fwlogwatch-1.1-make.patch |
Date: | Fri, 28 Aug 2009 20:15:58 |
Message-Id: | E1Mg4dW-0001DY-OW@stork.gentoo.org |
1 | jer 09/08/25 22:37:06 |
2 | |
3 | Added: fwlogwatch-1.1-make.patch |
4 | Log: |
5 | Use CFLAGS from environment (bug #240852). Use LDFLAGS and CC too. Do not strip. Use a patch instead of sed. |
6 | (Portage version: 2.2_rc40/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-analyzer/fwlogwatch/files/fwlogwatch-1.1-make.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fwlogwatch/files/fwlogwatch-1.1-make.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fwlogwatch/files/fwlogwatch-1.1-make.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: fwlogwatch-1.1-make.patch |
15 | =================================================================== |
16 | --- Makefile.orig 2006-03-08 20:36:02.000000000 +0100 |
17 | +++ Makefile 2009-08-26 00:34:02.000000000 +0200 |
18 | @@ -2,9 +2,7 @@ |
19 | # $Id: fwlogwatch-1.1-make.patch,v 1.1 2009/08/25 22:37:06 jer Exp $ |
20 | |
21 | # Linux |
22 | -CC = gcc |
23 | -CFLAGS = -DHAVE_ZLIB -DHAVE_GETTEXT -pipe -O2 -Wall #-pedantic -Wpointer-arith #-g #-p |
24 | -LDFLAGS = #-g #-static -p |
25 | +CFLAGS += -DHAVE_ZLIB -DHAVE_GETTEXT |
26 | LIBS = -lcrypt -lz #-ladns #-lc_p |
27 | |
28 | # Solaris |
29 | @@ -39,7 +37,7 @@ |
30 | LFLAGS = -B #-f #-p -p -d |
31 | |
32 | INSTALL = install |
33 | -INSTALL_PROGRAM = $(INSTALL) -s -m 0755 |
34 | +INSTALL_PROGRAM = $(INSTALL) -m 0755 |
35 | INSTALL_SCRIPT = $(INSTALL) -m 0755 |
36 | INSTALL_DATA = $(INSTALL) -m 0644 |
37 | INSTALL_DIR = /usr/local |