[117812] trunk/dports/www/mongrel2
and.damore at macports.org
and.damore at macports.org
Thu Mar 13 09:02:36 PDT 2014
Revision: 117812
https://trac.macports.org/changeset/117812
Author: and.damore at macports.org
Date: 2014-03-13 09:02:35 -0700 (Thu, 13 Mar 2014)
Log Message:
-----------
port mongrel2: upgrade to 1.9.0; drop usage of github portgroup, disable certificate test, nomaintainer
Modified Paths:
--------------
trunk/dports/www/mongrel2/Portfile
trunk/dports/www/mongrel2/files/patch-Makefile.diff
Modified: trunk/dports/www/mongrel2/Portfile
===================================================================
--- trunk/dports/www/mongrel2/Portfile 2014-03-13 14:09:16 UTC (rev 117811)
+++ trunk/dports/www/mongrel2/Portfile 2014-03-13 16:02:35 UTC (rev 117812)
@@ -2,10 +2,10 @@
# $Id$
PortSystem 1.0
-PortGroup github 1.0
-github.setup zedshaw mongrel2 1.8.1 v
license BSD
+name mongrel2
+version 1.9.0
categories www
platforms darwin
maintainers nomaintainer
@@ -15,12 +15,21 @@
web server that focuses on web applications using modern browser \
technologies.
-checksums rmd160 a3c69d86555149a2ced7811d3be3b11bbae4f485 \
- sha256 271c17f18db432d5d2af450efcefea05833f8eacc7389a5e56856cd92fc643ce
+homepage http://mongrel2.org/
+master_sites https://github.com/zedshaw/mongrel2/releases/download/v1.9.0/
+distname ${name}-v${version}
+checksums rmd160 4201f700eca2465a8e86a5c86b2971dd8735f283 \
+ sha256 7a18abba633a105eff29e135acf6e07b25bdababec1ed37d9463d0ae4718e2b4
-depends_lib path:lib/libzmq.dylib:zmq22 \
+
+depends_lib port:zmq \
port:sqlite3
+post-extract {
+ set file_name ${worksrcpath}/tests/cert_tests.c
+ move $file_name ${file_name}.invalid
+}
+
patchfiles patch-Makefile.diff \
patch-tools-procer-Makefile.diff
@@ -28,10 +37,11 @@
variant universal {}
+build.target macports
build.args-append PREFIX=${prefix} \
CC=${configure.cc} \
OPTFLAGS="${configure.cflags} ${configure.cppflags} [get_canonical_archflags cc]" \
- OPTLIBS="${configure.ldflags} [get_canonical_archflags ld]"
+ OPTLIBS="${configure.ldflags} [get_canonical_archflags ld] -bind_at_load -undefined dynamic_lookup"
destroot.args-append PREFIX=${prefix}
post-destroot {
Modified: trunk/dports/www/mongrel2/files/patch-Makefile.diff
===================================================================
--- trunk/dports/www/mongrel2/files/patch-Makefile.diff 2014-03-13 14:09:16 UTC (rev 117811)
+++ trunk/dports/www/mongrel2/files/patch-Makefile.diff 2014-03-13 16:02:35 UTC (rev 117812)
@@ -1,8 +1,8 @@
---- Makefile.orig 2013-05-25 17:53:41.000000000 -0500
-+++ Makefile 2013-12-13 19:21:43.000000000 -0600
+--- Makefile.orig 2014-01-27 00:30:17.000000000 +0100
++++ Makefile 2014-03-12 12:36:12.000000000 +0100
@@ -1,4 +1,4 @@
--CFLAGS=-g -O2 -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG $(OPTFLAGS) -D_FILE_OFFSET_BITS=64
-+CFLAGS=-g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG $(OPTFLAGS) -D_FILE_OFFSET_BITS=64
+-CFLAGS=-g -O2 -Wall -Wextra -Isrc -Isrc/polarssl/include -pthread -rdynamic -DNDEBUG $(OPTFLAGS) -D_FILE_OFFSET_BITS=64
++CFLAGS=-g -O2 -Wall -Wextra -Isrc -Isrc/polarssl/include -pthread -DNDEBUG $(OPTFLAGS) -D_FILE_OFFSET_BITS=64
LIBS=-lzmq -ldl -lsqlite3 $(OPTLIBS)
PREFIX?=/usr/local
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140313/5e07d0d6/attachment-0001.html>
More information about the macports-changes
mailing list