summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2020-10-25 23:55:27 -0600
committerTim Harder <radhermit@gentoo.org>2020-10-25 23:57:13 -0600
commit37127b999ef51eb5304e663abc1034ba4d4333c6 (patch)
treeb646655c45c6c64a8b4edaba9901b913aef91c6a /dev-ml/lablgl/files
parentsys-cluster/minikube: unbreak tree, switch dep to kubectl (diff)
downloadgentoo-37127b999ef51eb5304e663abc1034ba4d4333c6.tar.gz
gentoo-37127b999ef51eb5304e663abc1034ba4d4333c6.tar.bz2
gentoo-37127b999ef51eb5304e663abc1034ba4d4333c6.zip
dev-ml/lablgl: fix lablglut binary install
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'dev-ml/lablgl/files')
-rw-r--r--dev-ml/lablgl/files/lablgl-1.06-makefile.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-ml/lablgl/files/lablgl-1.06-makefile.patch b/dev-ml/lablgl/files/lablgl-1.06-makefile.patch
new file mode 100644
index 000000000000..36a1051a27bb
--- /dev/null
+++ b/dev-ml/lablgl/files/lablgl-1.06-makefile.patch
@@ -0,0 +1,12 @@
+Make sure install dir exists before copying file to it.
+
+--- lablgl-1.06/LablGlut/src/Makefile
++++ lablgl-1.06/LablGlut/src/Makefile
+@@ -68,6 +68,7 @@
+ cd "$(INSTALLDIR)" && $(RANLIB) liblablglut$(XA)
+ @if test -f dlllablglut$(XS); then $(MAKE) installdll; \
+ else $(MAKE) installtop; fi
++ mkdir -p "$(BINDIR)"
+ cp lablglut$(XB) "$(BINDIR)"
+
+ real-install: preinstall