Ticket #18079: patch-Makefile.config.diff

File patch-Makefile.config.diff, 703 bytes (added by hibou@…, 16 years ago)
  • Makefile.config

    old new  
    1919EXEEXT =
    2020
    2121DESTDIR =
    22 prefix = $(DESTDIR)/usr/local
     22prefix = $(DESTDIR)/opt/local
    2323bindir = $(prefix)/bin
    2424docdir = $(prefix)/share/doc
    2525pkgdocdir = $(prefix)/share/doc/htp
     
    2828# tool command-line options ... notice that these are geared towards GNU
    2929#
    3030ifdef RELEASE
    31 CCOPT = -c -Wall -O2
     31CCOPT = -c -Wall -O2 -D__DARWIN__
    3232else
    33 CCOPT = -c -Wall -O2 -g -DDEBUG=1
     33CCOPT = -c -Wall -O2 -g -DDEBUG=1 -D__DARWIN__
    3434endif
    3535# Adapt the following defines to the features of your OS.
    3636DEFINES = -DHAVE_SNPRINTF -DHAVE_PIPE -DHAVE_STPCPY -D_GNU_SOURCE=1