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

Last change on this file since 33797 was 33797, checked in by brett@…, 12 years ago

update filename

File size: 835 bytes
  • beanstalkd-0.

    diff -u -r beanstalkd-0.6-orig/Makefile beanstalkd-0.6/Makefile
    old new  
    11program := beanstalkd
    2 export CFLAGS := $(LDFLAGS) -Wall -Werror
    3 export LDFLAGS := $(LDFLAGS) -levent
     2export CPPFLAGS := $(CPPFLAGS) -I__PREFIX__/include
     3export CFLAGS := $(CFLAGS) -Wall -Werror -I__PREFIX__/include
     4export LDFLAGS := $(LDFLAGS) -L__PREFIX__/lib -levent
    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) -L__PREFIX__/lib -levent
    1012all: $(program)
    1113
    1214debug: export CFLAGS := $(CFLAGS) -g -pg -DDEBUG
Note: See TracBrowser for help on using the repository browser.