source: trunk/dports/sysutils/beanstalkd/files/patch-Makefile.diff @ 36091

Last change on this file since 36091 was 36091, checked in by nick@…, 11 years ago

Updated to 0.11, and removed prot.c patch that was incorporated upstream

File size: 770 bytes
  • beanstalkd-0.11

    old new  
    11program := beanstalkd
    2 export CFLAGS := $(CFLAGS) -Wall -Werror
    3 export LDFLAGS := $(LDFLAGS) -levent
     2export CPPFLAGS := $(CPPFLAGS) -I__PREFIX__/include
     3export CFLAGS := $(CFLAGS) -Wall -Werror -I__PREFIX__/include
     4export LDFLAGS := $(LDFLAGS) -levent -L__PREFIX__/lib
    45
    56sources := $(shell ls *.c | fgrep -v $(program))
    67objects := $(sources:.c=.o)
    78tests := $(sources:%=tests/test_%)
    89
    9 all: export CFLAGS := $(CFLAGS) -O2
     10all: export CFLAGS := $(CFLAGS) -O2 -I__PREFIX__/include
     11all: export LDFLAGS := $(LDFLAGS) -levent -L__PREFIX__/lib
    1012all: $(program)
    1113
    1214debug: export CFLAGS := $(CFLAGS) -g -pg -DDEBUG
Note: See TracBrowser for help on using the repository browser.