aboutsummaryrefslogtreecommitdiffstats
path: root/net/wizd/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/wizd/files/patch-Makefile')
-rw-r--r--net/wizd/files/patch-Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/net/wizd/files/patch-Makefile b/net/wizd/files/patch-Makefile
new file mode 100644
index 000000000000..77074a25092e
--- /dev/null
+++ b/net/wizd/files/patch-Makefile
@@ -0,0 +1,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