aboutsummaryrefslogtreecommitdiff
path: root/graphics/giflib/files/patch-tests_makefile
blob: d8ceec702425f578f6462ca53ee3633b51f75bc9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- tests/makefile.orig	2019-03-28 17:05:25 UTC
+++ tests/makefile
@@ -3,6 +3,8 @@
 
 .SUFFIXES: .gif .rgb
 
+export LD_LIBRARY_PATH=$(CURDIR)/..
+
 # This is what to do by default
 test: render-regress \
 	gifbuild-regress \
@@ -104,10 +106,10 @@ giffilter-regress:
 
 giffix-rebuild:
 	@echo "Rebuilding giffix test."
-	@head --bytes=-20 <$(PICS)/treescap.gif | $(UTILS)/giffix 2>/dev/null | $(UTILS)/gifbuild -d >giffixed.ico
+	@ghead --bytes=-20 <$(PICS)/treescap.gif | $(UTILS)/giffix 2>/dev/null | $(UTILS)/gifbuild -d >giffixed.ico
 giffix-regress:
 	@echo "giffix: Testing giffix behavior"
-	@head --bytes=-20 <$(PICS)/treescap.gif | $(UTILS)/giffix 2>/dev/null | $(UTILS)/gifbuild -d | diff -u giffixed.ico -
+	@ghead --bytes=-20 <$(PICS)/treescap.gif | $(UTILS)/giffix 2>/dev/null | $(UTILS)/gifbuild -d | diff -u giffixed.ico -
 
 gifinto-regress:
 	@echo "gifinto: Checking behavior on short files."