[49195] trunk/dports/devel/ice-cpp/Portfile

blair at macports.org blair at macports.org
Sun Apr 5 03:11:54 PDT 2009


Revision: 49195
          http://trac.macports.org/changeset/49195
Author:   blair at macports.org
Date:     2009-04-05 03:11:54 -0700 (Sun, 05 Apr 2009)
Log Message:
-----------
Rename libIce.* to libZeroCIce.* to avoid a conflict with xorg-libice's
libICE.*.

Modified Paths:
--------------
    trunk/dports/devel/ice-cpp/Portfile

Modified: trunk/dports/devel/ice-cpp/Portfile
===================================================================
--- trunk/dports/devel/ice-cpp/Portfile	2009-04-05 10:11:48 UTC (rev 49194)
+++ trunk/dports/devel/ice-cpp/Portfile	2009-04-05 10:11:54 UTC (rev 49195)
@@ -4,7 +4,7 @@
 
 name		ice-cpp
 version		3.3.1
-revision	1
+revision	2
 categories	devel
 maintainers	blair
 description	Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
@@ -93,6 +93,16 @@
 			break
 		}
 	}
+
+	# Prevent name conflicts between libICE.* from xorg-libice and
+	# libIce.* from this port by renaming libIce.* to libZeroCIce.*.
+	reinplace "s/,Ice/,ZeroCIce/" \
+		${workpath}/Ice-${version}/cpp/src/Ice/Makefile
+	reinplace "s/-lIce /-lZeroCIce /" \
+		${workpath}/Ice-${version}/cpp/config/Make.rules.Darwin
+	foreach {f} [exec find ${workpath}/Ice-${version}/cpp -name Makefile] {
+		reinplace "s/-lIce /-lZeroCIce /" ${f}
+	}
 }
 
 configure {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090405/48748392/attachment.html>


More information about the macports-changes mailing list