[48740] trunk/dports/x11/imake/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Fri Mar 27 14:30:51 PDT 2009


Revision: 48740
          http://trac.macports.org/changeset/48740
Author:   mcalhoun at macports.org
Date:     2009-03-27 14:30:50 -0700 (Fri, 27 Mar 2009)
Log Message:
-----------
imake: Do not disable xorg-xproto dependency if its pkgconfig file will be used.

Modified Paths:
--------------
    trunk/dports/x11/imake/Portfile

Modified: trunk/dports/x11/imake/Portfile
===================================================================
--- trunk/dports/x11/imake/Portfile	2009-03-27 21:19:08 UTC (rev 48739)
+++ trunk/dports/x11/imake/Portfile	2009-03-27 21:30:50 UTC (rev 48740)
@@ -54,7 +54,7 @@
                 system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
             }
             use_configure no
-        } elseif { ${os.major} >= 9 && [file exists ${x11prefix}/lib/pkgconfig/xproto.pc] } {
+        } elseif { ${os.major} >= 9 && [file exists ${x11prefix}/lib/pkgconfig/xproto.pc] && ![file exists ${prefix}/lib/pkgconfig/xproto.pc]} {
             # Current versions of XQuartz no longer provide imake, so system_x11 means use the X11 headers.
             depends_build-delete port:xorg-xproto
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090327/e73347da/attachment.html>


More information about the macports-changes mailing list