[80402] trunk/dports/sysutils/uif2iso

jmr at macports.org jmr at macports.org
Tue Jul 12 02:59:00 PDT 2011


Revision: 80402
          http://trac.macports.org/changeset/80402
Author:   jmr at macports.org
Date:     2011-07-12 02:58:57 -0700 (Tue, 12 Jul 2011)
Log Message:
-----------
uif2iso: fix build (#25780) and dependencies

Modified Paths:
--------------
    trunk/dports/sysutils/uif2iso/Portfile

Added Paths:
-----------
    trunk/dports/sysutils/uif2iso/files/
    trunk/dports/sysutils/uif2iso/files/Types.h.patch

Modified: trunk/dports/sysutils/uif2iso/Portfile
===================================================================
--- trunk/dports/sysutils/uif2iso/Portfile	2011-07-12 08:51:03 UTC (rev 80401)
+++ trunk/dports/sysutils/uif2iso/Portfile	2011-07-12 09:58:57 UTC (rev 80402)
@@ -5,7 +5,7 @@
 
 name                    uif2iso
 version                 0.1.7c
-revision                2
+revision                3
 
 categories              sysutils
 platforms               darwin
@@ -26,11 +26,12 @@
 dist_subdir             ${name}/${version}_${revision}
 worksrcdir              src
 
-depends_build           port:openssl \
-                        port:zlib
+depends_lib             port:zlib
 
-build.args              CC=gcc CFLAGS=\"-L${prefix}/lib\"
+patchfiles              Types.h.patch
 
+build.env               CC=${configure.cc} CFLAGS="${configure.cc_archflags}"
+
 destroot {
 	xinstall -m 755 ${worksrcpath}/uif2iso ${destroot}${prefix}/bin
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}

Added: trunk/dports/sysutils/uif2iso/files/Types.h.patch
===================================================================
--- trunk/dports/sysutils/uif2iso/files/Types.h.patch	                        (rev 0)
+++ trunk/dports/sysutils/uif2iso/files/Types.h.patch	2011-07-12 09:58:57 UTC (rev 80402)
@@ -0,0 +1,12 @@
+--- Types.h.orig	2009-01-06 15:10:18.000000000 +1100
++++ Types.h	2011-07-12 19:46:47.000000000 +1000
+@@ -40,7 +40,9 @@ typedef int WRes;
+ #define RINOK(x) { int __result__ = (x); if (__result__ != 0) return __result__; }
+ #endif
+ 
++#if !defined(ZCONF_H)
+ typedef unsigned char Byte;
++#endif
+ typedef short Int16;
+ typedef unsigned short UInt16;
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110712/ed8d8023/attachment.html>


More information about the macports-changes mailing list