summaryrefslogtreecommitdiff
path: root/graphics/mpeg_encode/patches/patch-aa
blob: cf697ab7c675a0eac662737855849a6ec40f465f (plain)
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
34
35
$NetBSD: patch-aa,v 1.2 2002/02/12 23:26:29 dillo Exp $

--- Makefile.orig	Thu Aug 17 00:16:56 1995
+++ Makefile
@@ -36,9 +36,9 @@
 ##############
 # JPEG STUFF #
 ##############
-JPEG_LIB = jpeg/libjpeg.a
-JPEG_DIR = -Ijpeg
-JPEG_LIB_DIR = -Ljpeg
+JPEG_LIB = -ljpeg
+JPEG_DIR = 
+JPEG_LIB_DIR = 
 MP_JPEG_OBJS = jpeg.o
 MP_JPEG_SRCS = jpeg.c
 
@@ -57,7 +57,7 @@
 #################
 # INCLUDE FILES # 
 #################
-INCLUDEDIR = -Iheaders -I/usr/include $(JPEG_DIR)
+INCLUDEDIR = -Iheaders $(JPEG_DIR)
 
 ############################################################################
 # LIBRARIES # specify library directories; need jpg lib and maybe pbm	   #
@@ -203,7 +203,7 @@
 ############
 
 mpeg_encode: $(MP_ALL_OBJS) $(JPEG_LIB)
-	$(PURIFY) $(CC) $(CFLAGS) -o $@ $(MP_ALL_OBJS) $(LIBDIRS) $(LIBS)
+	$(PURIFY) $(CC) $(LDFLAGS) -o $@ $(MP_ALL_OBJS) $(LIBDIRS) $(LIBS)
 	strip mpeg_encode
 
 profile: $(MP_ALL_OBJS)