Patchwork Makefile: unexport RUBYOPT

login
register
mail settings
Submitter Gustavo Zacarias
Date July 11, 2013, 2:37 p.m.
Message ID <1373553453-30335-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/258567/
State Accepted
Commit bed61a7be37cd95b05b8fa9c48cab77e81c93efd
Headers show

Comments

Gustavo Zacarias - July 11, 2013, 2:37 p.m.
On Gentoo systems with ruby installed RUBYOPT is set and causes build
breakage for some packages that needs host-ruby (example: webkit).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)
Peter Korsgaard - July 12, 2013, 11:33 a.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> On Gentoo systems with ruby installed RUBYOPT is set and causes build
 Gustavo> breakage for some packages that needs host-ruby (example: webkit).

Committed, thanks.

Patch

diff --git a/Makefile b/Makefile
index f6e9965..f477124 100644
--- a/Makefile
+++ b/Makefile
@@ -180,6 +180,9 @@  unexport PKG_CONFIG_SYSROOT_DIR
 # steps of some packages.
 unexport DESTDIR
 
+# Causes breakage with packages that needs host-ruby
+unexport RUBYOPT
+
 # bash prints the name of the directory on 'cd <dir>' if CDPATH is
 # set, so unset it here to not cause problems. Notice that the export
 # line doesn't affect the environment of $(shell ..) calls, so