libmng-1.0.10-rhconf.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --- libmng/makefiles/makefile.linux.orig Sat Jul 1 15:10:35 2000
  2. +++ libmng/makefiles/makefile.linux Sat Jul 1 15:14:52 2000
  3. @@ -13,19 +13,19 @@
  4. OPTIONS = -DMNG_BUILD_SO
  5. # where "make install" puts libmng.a,libmng.so*,libmng.h,libmng_conf.h,libmng_types.h
  6. -prefix=/usr/local
  7. +prefix=/usr
  8. # Where the zlib library and include files are located
  9. -ZLIBLIB=../zlib
  10. -ZLIBINC=../zlib
  11. +ZLIBLIB=/usr/lib
  12. +ZLIBINC=/usr/include
  13. # Where the jpeg library and include files are located
  14. -JPEGLIB=../jpgsrc
  15. -JPEGINC=../jpgsrc
  16. +JPEGLIB=/usr/lib
  17. +JPEGINC=/usr/include
  18. # Where the lcms library and include files are located
  19. -LCMSLIB=../lcms/lib
  20. -LCMSINC=../lcms/source
  21. +LCMSLIB=/usr/lib
  22. +LCMSINC=/usr/include
  23. ALIGN=
  24. # for i386:
  25. @@ -37,7 +37,7 @@
  26. # for pgcc version 2.95.1, -O3 is buggy; don't use it.
  27. -CFLAGS=-I$(ZLIBINC) -I$(JPEGINC) -I$(LCMSINC) -Wall -O3 -funroll-loops \
  28. +CFLAGS=-I$(ZLIBINC) -I$(JPEGINC) -I$(LCMSINC) -Wall $(RPM_OPT_FLAGS) \
  29. $(OPTIONS) $(ALIGN) # $(WARNMORE) -g
  30. LDFLAGS=-L. -Wl,-rpath,. \
  31. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) \