Skip to content

Commit

Permalink
screen: Use legacysupport to support OSX 10.6
Browse files Browse the repository at this point in the history
OSX 10.6 requires legacysupport for strndup
  • Loading branch information
TheRealKeto committed Sep 7, 2024
1 parent 64ca31c commit b71e7b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sysutils/screen/Portfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup legacysupport 1.1

# strndup
legacysupport.newest_darwin_requires_legacy 10

name screen
version 5.0.0
Expand Down Expand Up @@ -43,7 +47,7 @@ checksums ${distname}${extract.suffix} \
patchfiles patch-apple-screen.diff \
patch-apple-window.diff \
patch-tic.diff
depends_lib port:ncurses
depends_lib-append port:ncurses

extract.only ${distname}${extract.suffix}
post-extract {
Expand Down

0 comments on commit b71e7b0

Please sign in to comment.