[95928] trunk/dports/sysutils/screen/Portfile

cal at macports.org cal at macports.org
Thu Jul 26 12:42:38 PDT 2012


Revision: 95928
          https://trac.macports.org/changeset/95928
Author:   cal at macports.org
Date:     2012-07-26 12:42:36 -0700 (Thu, 26 Jul 2012)
Log Message:
-----------
screen: Fix build on ML, consolidate what would be three times the same platform-block

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

Modified: trunk/dports/sysutils/screen/Portfile
===================================================================
--- trunk/dports/sysutils/screen/Portfile	2012-07-26 18:26:27 UTC (rev 95927)
+++ trunk/dports/sysutils/screen/Portfile	2012-07-26 19:42:36 UTC (rev 95928)
@@ -64,7 +64,7 @@
     patchfiles-append   patch-config.h.in patch-configure patch-pty.c patch-window.c patch-screen.c-leopard
 }
 
-platform darwin 10 {
+if {${os.major} >= 10 && ${os.major} <= 12} {
     # These patches are based on http://www.opensource.apple.com/source/screen/screen-16/patches/
     # The vproc_priv.h is the private header from launchd, used in Apple's 10.6 screen patches
     # We copied the header file from http://launchd.macosforge.org/trac/browser/trunk/launchd/src/vproc_priv.h, r23776 
@@ -73,15 +73,6 @@
     patchfiles-append   patch-config.h.in patch-configure patch-pty.c patch-window.c patch-screen.c patch-process.c
 }
 
-platform darwin 11 {
-    # These patches are based on http://www.opensource.apple.com/source/screen/screen-16/patches/
-    # The vproc_priv.h is the private header from launchd, used in Apple's 10.6 screen patches
-    # We copied the header file from http://launchd.macosforge.org/trac/browser/trunk/launchd/src/vproc_priv.h, r23776 
-    distfiles-append    vproc_priv.h:launchd_priv_header
-    post-extract        { file copy ${distpath}/vproc_priv.h ${worksrcpath} }
-    patchfiles-append   patch-config.h.in patch-configure patch-pty.c patch-window.c patch-screen.c patch-process.c
-}
-
 variant vertical_split description {Apply vertical split patch} {
     patchfiles-append patch-wrp_vertical_split
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120726/6d5c1247/attachment.html>


More information about the macports-changes mailing list