diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2016-05-01 23:51:47 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2016-05-02 07:59:25 +0000 |
commit | 7aa67d528b9f543fb61527cae7f0f487426cb414 (patch) | |
tree | a3f42375625ab07f9777ed6d6719d70b9845b1fb /external/glew | |
parent | 104e2278fcfd82423d6341bd214a1df0b319aa1c (diff) |
glew: honor TMPDIR
Change-Id: Id5c20ec78dcde0144bd7718b7e9825b92ed70f3f
Reviewed-on: https://gerrit.libreoffice.org/24582
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'external/glew')
-rw-r--r-- | external/glew/UnpackedTarball_glew.mk | 4 | ||||
-rw-r--r-- | external/glew/glew-tmpdir.patch.1 | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/external/glew/UnpackedTarball_glew.mk b/external/glew/UnpackedTarball_glew.mk index 3b1a5a187361..c47b7a07e2ad 100644 --- a/external/glew/UnpackedTarball_glew.mk +++ b/external/glew/UnpackedTarball_glew.mk @@ -41,4 +41,8 @@ $(eval $(call gb_UnpackedTarball_add_patches,glew,\ )) endif +$(eval $(call gb_UnpackedTarball_add_patches,glew,\ + external/glew/glew-tmpdir.patch.1 \ +)) + # vim: set noet sw=4 ts=4: diff --git a/external/glew/glew-tmpdir.patch.1 b/external/glew/glew-tmpdir.patch.1 new file mode 100644 index 000000000000..9a2847ba279a --- /dev/null +++ b/external/glew/glew-tmpdir.patch.1 @@ -0,0 +1,13 @@ +diff -ur glew.org/Makefile glew/Makefile +--- glew.org/Makefile 2016-05-02 06:25:53.521291677 +0200 ++++ glew/Makefile 2016-05-02 06:31:10.325035494 +0200 +@@ -55,7 +55,8 @@ + DIST_SRC_TGZ ?= $(shell pwd)/$(DIST_NAME).tgz + DIST_WIN32 ?= $(shell pwd)/$(DIST_NAME)-win32.zip + +-DIST_DIR := $(shell mktemp -d /tmp/glew.XXXXXX)/$(DIST_NAME) ++TMPDIR ?= /tmp ++DIST_DIR := $(shell mktemp -d $(TMPDIR)/glew.XXXXXX)/$(DIST_NAME) + + # To disable stripping of binaries either: + # - use STRIP= on gmake command-line |