[96235] trunk/dports/x11/ratpoison/Portfile

jmr at macports.org jmr at macports.org
Sun Aug 5 13:47:58 PDT 2012


Revision: 96235
          https://trac.macports.org/changeset/96235
Author:   jmr at macports.org
Date:     2012-08-05 13:47:55 -0700 (Sun, 05 Aug 2012)
Log Message:
-----------
ratpoison: define HAVE_GETLINE when appropriate (#33664)

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

Modified: trunk/dports/x11/ratpoison/Portfile
===================================================================
--- trunk/dports/x11/ratpoison/Portfile	2012-08-05 19:41:32 UTC (rev 96234)
+++ trunk/dports/x11/ratpoison/Portfile	2012-08-05 20:47:55 UTC (rev 96235)
@@ -33,3 +33,8 @@
 	port:xorg-libXinerama \
 	port:xorg-libXtst
 configure.args	--mandir=${prefix}/share/man --infodir=${prefix}/share/info
+
+if {${os.platform} == "darwin" && ${os.major} >= 11} {
+    # this check is missing from the configure script in 1.4.5
+    configure.cppflags-append -DHAVE_GETLINE=1
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120805/682e7448/attachment.html>


More information about the macports-changes mailing list