Ticket #22083: patch-Makefile.config.diff

File patch-Makefile.config.diff, 839 bytes (added by basile.clout@…, 15 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.
    36 DEFINES = -DHAVE_SNPRINTF -DHAVE_PIPE -DHAVE_STPCPY -D_GNU_SOURCE=1
     36DEFINES = -DHAVE_SNPRINTF -DHAVE_PIPE -DHAVE_STPCPY -D_GNU_SOURCE=1 -DHAVE_VA_COPY
    3737
    3838LOPT =
    3939# -lefence