[66635] trunk/dports/devel/gnet

ryandesign at macports.org ryandesign at macports.org
Sun Apr 18 08:32:11 PDT 2010


Revision: 66635
          http://trac.macports.org/changeset/66635
Author:   ryandesign at macports.org
Date:     2010-04-18 08:32:05 -0700 (Sun, 18 Apr 2010)
Log Message:
-----------
gnet: fix underquoted definition of AM_PATH_GNET, and use port:-style dependency

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

Added Paths:
-----------
    trunk/dports/devel/gnet/files/
    trunk/dports/devel/gnet/files/patch-gnet.m4

Modified: trunk/dports/devel/gnet/Portfile
===================================================================
--- trunk/dports/devel/gnet/Portfile	2010-04-18 15:10:28 UTC (rev 66634)
+++ trunk/dports/devel/gnet/Portfile	2010-04-18 15:32:05 UTC (rev 66635)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 name		gnet
 version		1.1.8
-revision	1
+revision	2
 categories	devel
 maintainers	nomaintainer
 description	Simple network library
@@ -17,12 +17,14 @@
 
 checksums	md5 da2b5de278e96a5b907c2e2304bf6542
 
+patchfiles	patch-gnet.m4
+
 configure.args	--mandir=${prefix}/share/man
 
 if {![variant_isset glib1]} {
 	default_variants +glib2
 }
 
-variant glib1 conflicts glib2 description {Use glib1} { depends_lib lib:libglib.1:glib1 }
+variant glib1 conflicts glib2 description {Use glib1} { depends_lib port:glib1 }
 variant glib2 conflicts glib1 description {Use glib2} { depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2
 		  configure.args-append --enable-glib2 }

Added: trunk/dports/devel/gnet/files/patch-gnet.m4
===================================================================
--- trunk/dports/devel/gnet/files/patch-gnet.m4	                        (rev 0)
+++ trunk/dports/devel/gnet/files/patch-gnet.m4	2010-04-18 15:32:05 UTC (rev 66635)
@@ -0,0 +1,11 @@
+--- gnet.m4.orig	2001-11-09 13:43:22.000000000 -0600
++++ gnet.m4	2010-04-18 10:28:08.000000000 -0500
+@@ -6,7 +6,7 @@
+ dnl AM_PATH_GNET([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
+ dnl Test for GNET, and define GNET_CFLAGS and GNET_LIBS
+ dnl
+-AC_DEFUN(AM_PATH_GNET,
++AC_DEFUN([AM_PATH_GNET],
+ [dnl 
+ dnl Get the cflags and libraries from the gnet-config script
+ dnl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100418/d9d819ab/attachment.html>


More information about the macports-changes mailing list