[33534] trunk/dports/sysutils/beanstalkd
brett at macports.org
brett at macports.org
Tue Jan 29 05:18:01 PST 2008
Revision: 33534
http://trac.macosforge.org/projects/macports/changeset/33534
Author: brett at macports.org
Date: 2008-01-29 05:17:57 -0800 (Tue, 29 Jan 2008)
Log Message:
-----------
fix portfile and remove misplaced patch
Modified Paths:
--------------
trunk/dports/sysutils/beanstalkd/Portfile
Removed Paths:
-------------
trunk/dports/sysutils/beanstalkd/patch-Makefile
Modified: trunk/dports/sysutils/beanstalkd/Portfile
===================================================================
--- trunk/dports/sysutils/beanstalkd/Portfile 2008-01-29 13:17:33 UTC (rev 33533)
+++ trunk/dports/sysutils/beanstalkd/Portfile 2008-01-29 13:17:57 UTC (rev 33534)
@@ -23,6 +23,10 @@
use_configure no
patchfiles patch-Makefile
patch.pre_args -p1
+post-patch {
+ reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Makefile
+}
+
build.target
destroot.cmd install
destroot.target beanstalkd
Deleted: trunk/dports/sysutils/beanstalkd/patch-Makefile
===================================================================
--- trunk/dports/sysutils/beanstalkd/patch-Makefile 2008-01-29 13:17:33 UTC (rev 33533)
+++ trunk/dports/sysutils/beanstalkd/patch-Makefile 2008-01-29 13:17:57 UTC (rev 33534)
@@ -1,21 +0,0 @@
-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/opt/local/include
-+export CFLAGS := $(CFLAGS) -Wall -Werror -I/opt/local/include
-+export LDFLAGS := $(LDFLAGS) -L/opt/local/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/opt/local/include
-+all: export LDFLAGS := $(LDFLAGS) -L/opt/local/lib -levent
- all: $(program)
-
- debug: export CFLAGS := $(CFLAGS) -g -pg -DDEBUG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080129/f98b18a5/attachment.html
More information about the macports-changes
mailing list