source: trunk/src/3rdparty/libmng/doc/rpm/libmng-1.0.10-rhconf.patch

Last change on this file was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 1.0 KB
  • libmng/makefiles/makefile.linux

    old new  
    1313OPTIONS = -DMNG_BUILD_SO
    1414
    1515# where "make install" puts libmng.a,libmng.so*,libmng.h,libmng_conf.h,libmng_types.h
    16 prefix=/usr/local
     16prefix=/usr
    1717
    1818# Where the zlib library and include files are located
    19 ZLIBLIB=../zlib
    20 ZLIBINC=../zlib
     19ZLIBLIB=/usr/lib
     20ZLIBINC=/usr/include
    2121
    2222# Where the jpeg library and include files are located
    23 JPEGLIB=../jpgsrc
    24 JPEGINC=../jpgsrc
     23JPEGLIB=/usr/lib
     24JPEGINC=/usr/include
    2525
    2626# Where the lcms library and include files are located
    27 LCMSLIB=../lcms/lib
    28 LCMSINC=../lcms/source
     27LCMSLIB=/usr/lib
     28LCMSINC=/usr/include
    2929
    3030ALIGN=
    3131# for i386:
     
    3737
    3838# for pgcc version 2.95.1, -O3 is buggy; don't use it.
    3939
    40 CFLAGS=-I$(ZLIBINC) -I$(JPEGINC) -I$(LCMSINC) -Wall -O3 -funroll-loops \
     40CFLAGS=-I$(ZLIBINC) -I$(JPEGINC) -I$(LCMSINC) -Wall $(RPM_OPT_FLAGS) \
    4141        $(OPTIONS) $(ALIGN) # $(WARNMORE) -g
    4242LDFLAGS=-L. -Wl,-rpath,. \
    4343        -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) \
Note: See TracBrowser for help on using the repository browser.