[86918] trunk/dports/www/mongoose

ryandesign at macports.org ryandesign at macports.org
Sun Nov 6 19:53:04 PST 2011


Revision: 86918
          http://trac.macports.org/changeset/86918
Author:   ryandesign at macports.org
Date:     2011-11-06 19:53:01 -0800 (Sun, 06 Nov 2011)
Log Message:
-----------
mongoose: update to 3.0 (#30143, maintainer timeout); add universal variant and build for the right archs

Modified Paths:
--------------
    trunk/dports/www/mongoose/Portfile
    trunk/dports/www/mongoose/files/patch-Makefile

Modified: trunk/dports/www/mongoose/Portfile
===================================================================
--- trunk/dports/www/mongoose/Portfile	2011-11-07 03:19:49 UTC (rev 86917)
+++ trunk/dports/www/mongoose/Portfile	2011-11-07 03:53:01 UTC (rev 86918)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name            mongoose
-version         2.11
+version         3.0
 categories      www
 maintainers     toby
 description     easy to use web server
@@ -19,20 +19,23 @@
 master_sites    googlecode
 extract.suffix  .tgz
 
-checksums       md5 f6985da7513d354cc18b21b7670d23c1 \
-                sha1 e7a1e2d190b254cd2b9b9fee667a1abd1033c972 \
-                rmd160 bf9daa76d58b3a819ab097936f8f26a5c0db3b8d
+checksums       rmd160  1e11c3d3015f316ad8e5722874035604be9e3a4c \
+                sha256  018a7201e4d548e11a30b97f78ce1a02414a2f462bd12957b2247fdd7e865e22
 
 worksrcdir      ${name}
 
 patchfiles      patch-Makefile
 
-configure {
+post-patch {
 	reinplace s|__CFLAGS__|${configure.cflags}| ${worksrcpath}/Makefile
 }
 
+use_configure   no
+
+variant universal {}
+
 build.target    mac
-build.env       CC=${configure.cc}
+build.env       CC="${configure.cc} [get_canonical_archflags]"
 
 destroot {
 	xinstall -m 555 ${worksrcpath}/mongoose ${destroot}${prefix}/bin

Modified: trunk/dports/www/mongoose/files/patch-Makefile
===================================================================
--- trunk/dports/www/mongoose/files/patch-Makefile	2011-11-07 03:19:49 UTC (rev 86917)
+++ trunk/dports/www/mongoose/files/patch-Makefile	2011-11-07 03:53:01 UTC (rev 86918)
@@ -1,12 +1,12 @@
---- Makefile.orig	2010-09-15 13:35:44.000000000 -0700
-+++ Makefile	2010-09-15 13:36:06.000000000 -0700
-@@ -20,8 +20,8 @@
+--- Makefile.orig	2011-05-02 02:00:20.000000000 -0500
++++ Makefile	2011-11-06 21:50:43.000000000 -0600
+@@ -22,8 +22,8 @@
  ###                 UNIX build: linux, bsd, mac, rtems
  ##########################################################################
  
--CFLAGS=		-W -Wall -std=c99 -pedantic -O2 -fomit-frame-pointer $(COPT)
+-CFLAGS=		-W -Wall -std=c99 -pedantic -O2 $(COPT)
 -MAC_SHARED=	-flat_namespace -bundle -undefined suppress
-+CFLAGS=		-W -Wall -std=c99 -pedantic __CFLAGS__ -fomit-frame-pointer $(COPT)
++CFLAGS=		-W -Wall -std=c99 -pedantic __CFLAGS__ $(COPT)
 +MAC_SHARED=	-bundle
  LINFLAGS=	-ldl -pthread $(CFLAGS)
  LIB=		_$(PROG).so
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111106/63fc1300/attachment-0001.html>


More information about the macports-changes mailing list