HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to media-libs/fitz/1.0/1

media-libs/fitz/1.0/1: fitz-1.0.patch

File fitz-1.0.patch, 1.4 KB (added by cipri, 3 years ago)
  • Makefile

    diff -Naur mupdf-1.0-source/Makefile mupdf-1.0-source-haiku/Makefile
    old new  
    1212# Do not specify CFLAGS or LIBS on the make invocation line - specify 
    1313# XCFLAGS or XLIBS instead. Make ignores any lines in the makefile that 
    1414# set a variable that was set on the command line. 
    15 CFLAGS += $(XCFLAGS) -Ifitz -Ipdf -Ixps -Icbz -Iscripts 
    16 LIBS += $(XLIBS) -lfreetype -ljbig2dec -ljpeg -lopenjpeg -lz -lm 
     15CFLAGS += $(XCFLAGS) -Ifitz -Ipdf -Ixps -Icbz -Iscripts -I/boot/develop/headers/3rdparty/freetype2 
     16LIBS += -L/boot/common/lib/ -lfreetype -ljbig2dec -ljpeg -lopenjpeg -lz -lroot 
    1717 
    1818include Makerules 
    1919include Makethird 
    … …  
    144144 
    145145ifeq "$(NOX11)" "" 
    146146MUPDF := $(OUT)/mupdf 
    147 $(MUPDF) : $(FITZ_LIB) $(THIRD_LIBS) 
     147$(MUPDF) : $(FITZ_LIB) 
    148148$(MUPDF) : $(addprefix $(OUT)/, x11_main.o x11_image.o pdfapp.o) 
    149149        $(LINK_CMD) $(X11_LIBS) 
    150150endif 
    … …  
    167167incdir ?= $(prefix)/include 
    168168mandir ?= $(prefix)/share/man 
    169169 
    170 install: $(FITZ_LIB) $(MU_APPS) $(MUPDF) 
     170install: $(FITZ_LIB) 
    171171        install -d $(bindir) $(libdir) $(incdir) $(mandir)/man1 
    172172        install $(FITZ_LIB) $(libdir) 
    173173        install fitz/memento.h fitz/fitz.h pdf/mupdf.h xps/muxps.h cbz/mucbz.h $(incdir) 
    174         install $(MU_APPS) $(MUPDF) $(bindir) 
    175174        install $(wildcard apps/man/*.1) $(mandir)/man1 
    176175 
    177176# --- Clean and Default --- 

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/