File: no-usr-local.patch

package info (click to toggle)
imaptool 0.9-24
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 352 kB
  • sloc: ansic: 3,944; makefile: 88
file content (33 lines) | stat: -rw-r--r-- 993 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From e1ad2f50bee0c25e0d0a1fe6771e91ff528fd758 Mon Sep 17 00:00:00 2001
From: Sudhakar Chandrasekharan <thaths@netscape.com>
Date: Sat, 18 Jan 2014 16:44:59 +0000
Subject: Avoid use of /usr/local

Forwarded: not-needed
Last-Update: 2010-03-02

Patch-Name: no-usr-local.patch
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index a929326..3848412 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 #Do you want to use jpeg-library???
-JPEG_INCLUDE=-I/usr/local/include/
+JPEG_INCLUDE=-I/usr/include/
 JPEG_CHOICE=-DUSE_JPEG_LIB $(JPEG_INCLUDE)
 #JPEG_CHOICE=
 LIBRARIES=-lXt -lXaw -lXmu -lXext -lX11 -ljpeg -lm
@@ -7,7 +7,7 @@ LIBRARIES=-lXt -lXaw -lXmu -lXext -lX11 -ljpeg -lm
 
 CC=gcc -I/usr/X11R6/include/
 
-LIBDIR=-L/usr/local/lib -L/usr/X11R6/lib
+LIBDIR=-L/usr/lib -L/usr/X11R6/lib
 OBJECTS=imaptool.o file2pixmap.o dgif_lib.o gif_err.o gifalloc.o
 imaptool:	$(OBJECTS)
 		$(CC) -o imaptool $(LIBDIR) $(OBJECTS) $(LIBRARIES)