[33797]
trunk/dports/sysutils/beanstalkd/files/patch-Makefile.diff
Ryan Schmidt
ryandesign at macports.org
Tue Feb 5 09:38:08 PST 2008
You added this as a new file. You should have used "svn cp" to copy
it from patch-Makefile in r33533 so as to preserve the history and
also to save space in the repository.
On Feb 5, 2008, at 08:23, brett at macports.org wrote:
> Revision: 33797
> http://trac.macosforge.org/projects/macports/changeset/33797
> Author: brett at macports.org
> Date: 2008-02-05 06:22:21 -0800 (Tue, 05 Feb 2008)
>
> Log Message:
> -----------
> update filename
>
> Added Paths:
> -----------
> trunk/dports/sysutils/beanstalkd/files/patch-Makefile.diff
>
> Added: trunk/dports/sysutils/beanstalkd/files/patch-Makefile.diff
> ===================================================================
> --- trunk/dports/sysutils/beanstalkd/files/patch-
> Makefile.diff (rev 0)
> +++ trunk/dports/sysutils/beanstalkd/files/patch-Makefile.diff
> 2008-02-05 14:22:21 UTC (rev 33797)
> @@ -0,0 +1,21 @@
> +diff -u -r beanstalkd-0.6-orig/Makefile beanstalkd-0.6/Makefile
> +--- beanstalkd-0.6-orig/Makefile 2008-01-02 21:16:41.000000000 -0500
> ++++ beanstalkd-0.6/Makefile 2008-01-18 10:48:25.000000000 -0500
> +@@ -1,12 +1,14 @@
> + program := beanstalkd
> +-export CFLAGS := $(LDFLAGS) -Wall -Werror
> +-export LDFLAGS := $(LDFLAGS) -levent
> ++export CPPFLAGS := $(CPPFLAGS) -I__PREFIX__/include
> ++export CFLAGS := $(CFLAGS) -Wall -Werror -I__PREFIX__/include
> ++export LDFLAGS := $(LDFLAGS) -L__PREFIX__/lib -levent
> +
> + sources := $(shell ls *.c | fgrep -v $(program))
> + objects := $(sources:.c=.o)
> + tests := $(sources:%=tests/test_%)
> +
> +-all: export CFLAGS := $(CFLAGS) -O2
> ++all: export CFLAGS := $(CFLAGS) -O2 -I__PREFIX__/include
> ++all: export LDFLAGS := $(LDFLAGS) -L__PREFIX__/lib -levent
> + all: $(program)
> +
> + debug: export CFLAGS := $(CFLAGS) -g -pg -DDEBUG
More information about the macports-dev
mailing list