freebsd-ports/net/wizd/files/patch-Makefile
Dmitry Marakasov 1e9398a015 Wizd is serving all your media files (video, audio, photo...) to your
Syabas-based network player.

WWW:	http://wizd.sourceforge.net/

PR:		ports/125178
Submitted by:	Ayumi M <ayu at commun dot jp>
2008-08-14 21:10:10 +00:00

24 lines
807 B
Text

--- 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