[47027] trunk/dports/x11/xorg-libXt

jeremyhu at macports.org jeremyhu at macports.org
Thu Feb 19 22:40:58 PST 2009


Revision: 47027
          http://trac.macports.org/changeset/47027
Author:   jeremyhu at macports.org
Date:     2009-02-19 22:40:57 -0800 (Thu, 19 Feb 2009)
Log Message:
-----------
xorg-libXt: Don't poll() character devices (not supported atleast through Leopard)

Modified Paths:
--------------
    trunk/dports/x11/xorg-libXt/Portfile

Added Paths:
-----------
    trunk/dports/x11/xorg-libXt/files/
    trunk/dports/x11/xorg-libXt/files/poll.patch

Modified: trunk/dports/x11/xorg-libXt/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXt/Portfile	2009-02-20 05:11:57 UTC (rev 47026)
+++ trunk/dports/x11/xorg-libXt/Portfile	2009-02-20 06:40:57 UTC (rev 47027)
@@ -4,6 +4,7 @@
 
 name            xorg-libXt
 version         1.0.5
+revision        1
 categories      x11 devel
 maintainers     jeremyhu openmaintainer
 description     X.org libXt
@@ -24,11 +25,19 @@
 use_parallel_build      yes
 
 depends_build   port:pkgconfig \
+                port:libtool \
+                port:autoconf \
+                port:automake \
+                port:xorg-util-macros \
                 port:xorg-kbproto \
                 port:xorg-xproto
 depends_lib     port:xorg-libsm \
                 port:xorg-libX11
 
+patchfiles poll.patch
+use_autoreconf yes
+autoreconf.args -fvi
+
 livecheck.check regex
 livecheck.url   [lindex ${master_sites} 0]?C=M&O=D
 livecheck.regex libXt-(\\d+(?:\\.\\d+)*)

Added: trunk/dports/x11/xorg-libXt/files/poll.patch
===================================================================
--- trunk/dports/x11/xorg-libXt/files/poll.patch	                        (rev 0)
+++ trunk/dports/x11/xorg-libXt/files/poll.patch	2009-02-20 06:40:57 UTC (rev 47027)
@@ -0,0 +1,12 @@
+diff -Naurp libXt-1.0.5.orig/configure.ac libXt-1.0.5/configure.ac
+--- configure.ac	2008-02-12 19:02:35.000000000 -0800
++++ configure.ac	2008-02-12 19:02:41.000000000 -0800
+@@ -43,8 +43,6 @@ PKG_CHECK_MODULES(XT, sm x11 xproto kbpr
+ AC_CHECK_HEADER([alloca.h], AC_DEFINE(INCLUDE_ALLOCA_H, 1, [Define to 1 if Xalloca.h should include <alloca.h>]))
+ 
+ # Map function checks to old Imake #defines
+-AC_CHECK_FUNC(poll, AC_DEFINE(USE_POLL,1,
+-        [Define to 1 if you have the `poll' function.]))
+ AC_CHECK_FUNC(snprintf, AC_DEFINE(USE_SNPRINTF,1,
+         [Define to 1 if you have the `snprintf' function.]))
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090219/bc3aca4a/attachment.html>


More information about the macports-changes mailing list