summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/realpath/files/realpath-1.15-prefix.patch')
-rw-r--r--app-misc/realpath/files/realpath-1.15-prefix.patch22
1 files changed, 10 insertions, 12 deletions
diff --git a/app-misc/realpath/files/realpath-1.15-prefix.patch b/app-misc/realpath/files/realpath-1.15-prefix.patch
index 480425b2dfe6..f9534641382f 100644
--- a/app-misc/realpath/files/realpath-1.15-prefix.patch
+++ b/app-misc/realpath/files/realpath-1.15-prefix.patch
@@ -1,13 +1,14 @@
-* <grobian@gentoo.org>: /bin/sh is no good (on e.g. Solaris) same for perl
-
---- common.mk
-+++ common.mk
-@@ -8,16 +8,17 @@
+diff --git a/common.mk b/common.mk
+index 2443a40..0a342ee 100644
+--- a/common.mk
++++ b/common.mk
+@@ -8,17 +8,19 @@ override TOPDIR := $(dir $(call getCurrentMakefileName))
override PACKAGE := realpath
-PATH := /usr/bin:/usr/sbin:/bin:/sbin:$(PATH)
+#PATH := /usr/bin:/usr/sbin:/bin:/sbin:$(PATH)
++
+SHELL := @GENTOO_PORTAGE_EPREFIX@/bin/bash
# build abstraction
@@ -21,11 +22,13 @@
compress := gzip -9f
-prefix := /usr
+-etcdir := /etc/$(PACKAGE)
+prefix := @GENTOO_PORTAGE_EPREFIX@/usr
- etcdir := /etc/$(PACKAGE)
++etcdir := @GENTOO_PORTAGE_EPREFIX@/etc/$(PACKAGE)
bindir := $(prefix)/bin
sbindir := $(prefix)/sbin
-@@ -33,11 +34,11 @@
+ mandir := $(prefix)/share/man
+@@ -33,7 +35,7 @@ webdocrootdir := /var/www
webcgidir := $(prefix)/lib/cgi-bin
applicationsdir := $(prefix)/share/applications
@@ -34,8 +37,3 @@
CC ?= gcc
CFLAGS += -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"'
LDFLAGS +=
--LIBS :=
-+LIBS +=
-
- ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0