diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-09-26 01:45:24 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-09-26 01:45:24 +0000 |
commit | 3d64d475655af46c053ee1d71484326303934334 (patch) | |
tree | 71afb81a0a774a64e34e96f3edd694d0159792a3 /app-misc/realpath/files/realpath-1.17-build.patch | |
parent | Add ~x86-fbsd. #418355 (diff) | |
download | gentoo-2-3d64d475655af46c053ee1d71484326303934334.tar.gz gentoo-2-3d64d475655af46c053ee1d71484326303934334.tar.bz2 gentoo-2-3d64d475655af46c053ee1d71484326303934334.zip |
Version bump.
(Portage version: 2.2.0_alpha132/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/realpath/files/realpath-1.17-build.patch')
-rw-r--r-- | app-misc/realpath/files/realpath-1.17-build.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-misc/realpath/files/realpath-1.17-build.patch b/app-misc/realpath/files/realpath-1.17-build.patch new file mode 100644 index 000000000000..c4a8b3dfc9b9 --- /dev/null +++ b/app-misc/realpath/files/realpath-1.17-build.patch @@ -0,0 +1,43 @@ +--- a/common.mk ++++ b/common.mk +@@ -33,16 +33,9 @@ + applicationsdir := $(prefix)/share/applications + + PERL := /usr/bin/perl +-CC := gcc +-CFLAGS += $(CPPFLAGS) -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Werror -g -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"' +-LIBS := +- +-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +- CFLAGS += -O0 +-else +- CFLAGS += -O2 +-endif +- ++CC ?= gcc ++CFLAGS += $(CPPFLAGS) -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"' ++LIBS += + + # determine our version number + ifndef VERSION +@@ -58,9 +51,6 @@ + unexport CDPATH ENV + + ifdef DESTDIR +- ifneq ($(DESTDIR),$(abspath $(DESTDIR))) +- $(error DESTDIR "$(DESTDIR)" is not an absolute path) +- endif + override ddirshort := DESTDIR + export ddirshort + endif +@@ -108,7 +99,9 @@ + esac; fi; + endef + else +- msg := : ++ define msg ++ : ++ endef + endif + + msgprefix := *$(subst * ,*,$(wordlist 1,$(MAKELEVEL),* * * * * * * * * * * * * * * * * *)) |