[30280] trunk/dports/devel/libsockets

source_changes at macosforge.org source_changes at macosforge.org
Tue Oct 23 10:51:21 PDT 2007


Revision: 30280
          http://trac.macosforge.org/projects/macports/changeset/30280
Author:   mww at macports.org
Date:     2007-10-23 10:51:21 -0700 (Tue, 23 Oct 2007)

Log Message:
-----------
version 2.2.2

Modified Paths:
--------------
    trunk/dports/devel/libsockets/Portfile
    trunk/dports/devel/libsockets/files/patch-Makefile

Modified: trunk/dports/devel/libsockets/Portfile
===================================================================
--- trunk/dports/devel/libsockets/Portfile	2007-10-23 14:20:57 UTC (rev 30279)
+++ trunk/dports/devel/libsockets/Portfile	2007-10-23 17:51:21 UTC (rev 30280)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name			libsockets
-version			2.1.7
+version			2.2.2
 categories		devel net
 platforms		darwin
 maintainers		mww
@@ -16,7 +16,7 @@
 distfiles		uuid.h:header \
 				Sockets-${version}.tar.gz:tar
 checksums		uuid.h sha1 c466612c98aea27d92423589018e1a69d480c793 \
-				Sockets-${version}.tar.gz sha1 d5d9672f2f8902a132c82a515a5b30fa3479e9b8
+				Sockets-${version}.tar.gz sha1 e90005331650976675e6550c3e993e23c42a507c
 patchfiles		patch-Makefile
 
 depends_lib		port:openssl
@@ -30,8 +30,7 @@
 
 use_configure	no
 
-build.args		PREFIX=${prefix}
-build.env		CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
+build.args		PLATFORM=macosx PREFIX=${prefix} INCLUDE="-I${prefix}/include"
 
 post-build {
 	system "cd ${worksrcpath} && \
@@ -45,6 +44,10 @@
 		libSockets.1.0.0.dylib libSockets.dylib ${destroot}${prefix}/lib
 }
 
+platform darwin 8 {
+	build.args-append	CXX=/usr/bin/g++-4.0
+}
+
 livecheck.check	freshmeat
 livecheck.name	csockets
 

Modified: trunk/dports/devel/libsockets/files/patch-Makefile
===================================================================
--- trunk/dports/devel/libsockets/files/patch-Makefile	2007-10-23 14:20:57 UTC (rev 30279)
+++ trunk/dports/devel/libsockets/files/patch-Makefile	2007-10-23 17:51:21 UTC (rev 30280)
@@ -1,14 +1,5 @@
 --- Makefile	2006-02-24 10:09:20.000000000 +0100
 +++ Makefile	2006-03-02 21:42:33.000000000 +0100
-@@ -20,7 +20,7 @@
- 
- # uncomment depending on your operating system
- #CFLAGS +=	-DLINUX
--#CFLAGS +=	-DMACOSX 
-+CFLAGS +=	-DMACOSX 
- # solaris > 8
- #CFLAGS +=	-DSOLARIS
- # solaris 8
 @@ -102,7 +102,7 @@
  		cp libSockets.a $(PREFIX)/lib
  		cp libSocketsEx.a $(PREFIX)/lib

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071023/0b906dc5/attachment.html


More information about the macports-changes mailing list