From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-admin/realpath/files: realpath-1.14-build.patch |
Date: | Thu, 30 Apr 2009 13:18:02 |
Message-Id: | E1LzW9I-0003mV-Bk@stork.gentoo.org |
1 | ssuominen 09/04/30 13:18:00 |
2 | |
3 | Added: realpath-1.14-build.patch |
4 | Log: |
5 | Version bump. |
6 | (Portage version: 2.1.6.11/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-admin/realpath/files/realpath-1.14-build.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/realpath/files/realpath-1.14-build.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/realpath/files/realpath-1.14-build.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: realpath-1.14-build.patch |
15 | =================================================================== |
16 | diff -ur realpath-1.14.orig/common.mk realpath-1.14/common.mk |
17 | --- realpath-1.14.orig/common.mk 2009-02-22 11:58:00.000000000 +0000 |
18 | +++ realpath-1.14/common.mk 2009-04-30 16:12:29.000000000 +0000 |
19 | @@ -34,9 +34,9 @@ |
20 | applicationsdir := $(prefix)/share/applications |
21 | |
22 | PERL := /usr/bin/perl |
23 | -CC := gcc |
24 | -CFLAGS = -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Werror -g -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"' |
25 | -LDFLAGS := |
26 | +CC ?= gcc |
27 | +CFLAGS += -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"' |
28 | +LDFLAGS += |
29 | LIBS := |
30 | |
31 | ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
32 | @@ -60,9 +60,6 @@ |
33 | unexport CDPATH ENV |
34 | |
35 | ifdef DESTDIR |
36 | - ifneq ($(DESTDIR),$(abspath $(DESTDIR))) |
37 | - $(error DESTDIR "$(DESTDIR)" is not an absolute path) |
38 | - endif |
39 | override ddirshort := DESTDIR |
40 | export ddirshort |
41 | endif |