summaryrefslogtreecommitdiff
path: root/net/wizd/files/patch-Makefile
blob: 77074a25092e2928847f1e8b5613001abe7739e9 (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
--- Makefile.orig	2008-08-15 00:53:11.000000000 +0400
+++ Makefile	2008-08-15 00:54:11.000000000 +0400
@@ -5,19 +5,12 @@
 ################################################################################
 .SUFFIXES: .c .o .obj
 
-CC = gcc
-CFLAGS = -pipe -O2 -Wall
-CFLAGS += -g	# debug symbols
 CFLAGS += -D_FILE_OFFSET_BITS=64
 CFLAGS += -D_LARGEFILE_SOURCE
 ### -- If you dont want to use JPEG resize feature, comment it out.
 CFLAGS += -DRESIZE_JPEG
-CFLAGS += -I/usr/local/include
-LDFLAGS += -static -L/usr/local/lib -ljpeg -ldvdread
-
-# keep the following lines only if you have the w32api library
-LDFLAGS += -L/lib/w32api -lole32 -luuid
-CFLAGS += -DHAVE_W32API
+CFLAGS += -I${LOCALBASE}/include
+LDFLAGS += -L${LOCALBASE}/lib -ljpeg -ldvdread -lm -lcompat
 
 ### --
 LDFLAGS += -s	# strip symbols