summaryrefslogtreecommitdiff
path: root/mathopd/mathopd-config.patch
blob: b982a6c0fca27d6466e3b8fd02a71c6a3909091b (plain)
    1 diff -Nru mathopd-1.5p6.orig/src/Makefile mathopd-1.5p6/src/Makefile
    2 --- mathopd-1.5p6.orig/src/Makefile	2007-07-21 14:56:57.000000000 +0200
    3 +++ mathopd-1.5p6/src/Makefile	2007-07-21 14:58:26.000000000 +0200
    4 @@ -1,6 +1,6 @@
    5  BIN = mathopd
    6  CC = gcc
    7 -CFLAGS = -O -Wall
    8 +CFLAGS += -Wall
    9  CPPFLAGS = 
   10  LDFLAGS = 
   11  LIBS = -lcrypt
   12 @@ -12,12 +12,12 @@
   13  # LIBS = -lsocket -lnsl -lresolv
   14  
   15  # On Linux, uncomment the following
   16 -# CPPFLAGS = -DHAVE_CRYPT_H
   17 +CPPFLAGS = -DHAVE_CRYPT_H
   18  
   19  # For Linux or Solaris:
   20  # To add support for large files (>2GB), uncomment the following.
   21  # You do not need this for 64-bit executables.
   22 -# CPPFLAGS += -D_FILE_OFFSET_BITS=64
   23 +CPPFLAGS += -D_FILE_OFFSET_BITS=64
   24  
   25  OBJS = base64.o cgi.o config.o core.o dump.o imap.o log.o main.o \
   26  	redirect.o request.o util.o stub.o $(EXTRA_OBJS)
   27 @@ -31,15 +31,15 @@
   28  # CPPFLAGS += -DNEED_SOCKLEN_T
   29  
   30  # Unomment the following if your system has a working vfork() function
   31 -# CPPFLAGS += -DHAVE_VFORK
   32 +CPPFLAGS += -DHAVE_VFORK
   33  
   34  # Currently, sendfile support is available in two flavours: Linux and FreeBSD
   35  # Uncomment one of the following two to enable sendfile() support
   36 -# CPPFLAGS += -DLINUX_SENDFILE
   37 +CPPFLAGS += -DLINUX_SENDFILE
   38  # CPPFLAGS += -DFREEBSD_SENDFILE
   39  # If you define any of the SENDFILE conditionals, make sure to uncomment
   40  # the next line as well.
   41 -# EXTRA_OBJS += sendfile.o
   42 +EXTRA_OBJS += sendfile.o
   43  
   44  all: $(BIN)
   45  install: $(BIN)

Generated by cgit