[98025] trunk/dports/devel/libev

jeremyhu at macports.org jeremyhu at macports.org
Sun Sep 23 00:07:24 PDT 2012


Revision: 98025
          http://trac.macports.org//changeset/98025
Author:   jeremyhu at macports.org
Date:     2012-09-23 00:07:24 -0700 (Sun, 23 Sep 2012)
Log Message:
-----------
libev: Fix +universal

Modified Paths:
--------------
    trunk/dports/devel/libev/Portfile

Added Paths:
-----------
    trunk/dports/devel/libev/files/
    trunk/dports/devel/libev/files/cflags.patch

Modified: trunk/dports/devel/libev/Portfile
===================================================================
--- trunk/dports/devel/libev/Portfile	2012-09-23 06:17:31 UTC (rev 98024)
+++ trunk/dports/devel/libev/Portfile	2012-09-23 07:07:24 UTC (rev 98025)
@@ -2,10 +2,12 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup  muniversal 1.0
 
 name            libev
 epoch           1
 version         4.11
+revision        1
 categories      devel
 maintainers     nomaintainer
 license         {BSD GPL-2+}
@@ -19,11 +21,15 @@
 checksums           rmd160  524b86e24b45ff01bf79775f9ce9374f792b3c4c \
                     sha256  9f55f16ff6e4d60a1b1fa7f4962af69768468f0d7c362aab6387f52020938cdf
 
+patchfiles cflags.patch
+
+use_autoreconf  yes
+autoreconf.args -fvi
+
 post-destroot {
     move ${destroot}${prefix}/include/event.h ${destroot}${prefix}/include/ev-event.h
 }
 
-
 test.run        yes
 test.target     verify
 

Added: trunk/dports/devel/libev/files/cflags.patch
===================================================================
--- trunk/dports/devel/libev/files/cflags.patch	                        (rev 0)
+++ trunk/dports/devel/libev/files/cflags.patch	2012-09-23 07:07:24 UTC (rev 98025)
@@ -0,0 +1,22 @@
+--- configure.ac.orig	2012-02-04 11:06:12.000000000 -0800
++++ configure.ac	2012-09-23 00:04:15.000000000 -0700
+@@ -1,5 +1,3 @@
+-orig_CFLAGS="$CFLAGS"
+-
+ AC_INIT
+ AC_CONFIG_SRCDIR([ev_epoll.c])
+ 
+@@ -9,13 +7,6 @@ AM_MAINTAINER_MODE
+ 
+ AC_PROG_CC
+ 
+-dnl Supply default CFLAGS, if not specified
+-if test -z "$orig_CFLAGS"; then
+-  if test x$GCC = xyes; then
+-    CFLAGS="-g -O3"
+-  fi
+-fi
+-
+ AC_PROG_INSTALL
+ AC_PROG_LIBTOOL
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120923/291e5c35/attachment-0001.html>


More information about the macports-changes mailing list