Skip to content

Commit

Permalink
nomaintainer ports: use known_fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jmroot committed Oct 31, 2019
1 parent c3aada7 commit e789d20
Show file tree
Hide file tree
Showing 58 changed files with 139 additions and 72 deletions.
7 changes: 4 additions & 3 deletions aqua/Cenon/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ checksums Cenon-${version}.tar.bz2 \

use_bzip2 yes

pre-fetch {
platform darwin {
if {${os.major} < 10} {
platform darwin {
if {${os.major} < 10} {
known_fail yes
pre-fetch {
ui_error "${name} @${version} requires at least macOS 10.6 Snow Leopard"
return -code error "imcompatible macOS version"
}
Expand Down
5 changes: 3 additions & 2 deletions aqua/DesktopManager/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ worksrcdir ${name}

universal_variant no

pre-fetch {
if {${os.major} != 8} {
if {${os.major} != 8} {
known_fail yes
pre-fetch {
ui_error "${name} ${version} requires Mac OS X 10.4."
return -code error "incompatible macOS version"
}
Expand Down
5 changes: 3 additions & 2 deletions aqua/MacBiff/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ post-patch {
reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/MacBiff.xcodeproj/project.pbxproj
}

pre-fetch {
if {${os.major} < 10} {
if {${os.major} < 10} {
known_fail yes
pre-fetch {
ui_error "${name} ${version} requires Mac OS X 10.6 or greater."
return -code error "incompatible Mac OS X version"
}
Expand Down
1 change: 1 addition & 0 deletions aqua/iTunesMatchHelper/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ destroot {
}

if {${os.platform} eq "darwin" && ${os.major} < 11} {
known_fail yes
pre-fetch {
ui_error "${name} ${version} requires OS X 10.7 or greater."
return -code error "incompatible OS X version"
Expand Down
1 change: 1 addition & 0 deletions aqua/qt3-mac/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ post-destroot {

platform darwin {
if {${os.major} > 10} {
known_fail yes
pre-fetch {
ui_error "${name} requires Mac OS X 10.6 or older."
return -code error "incompatible OS version"
Expand Down
7 changes: 4 additions & 3 deletions aqua/xrg/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ long_description \
graphs on system usage.
homepage http://www.gauchosoft.com/Products/XRG/

pre-fetch {
platform darwin {
if {${os.major} < 11} {
platform darwin {
if {${os.major} < 11} {
known_fail yes
pre-fetch {
ui_error "${name} @${version} requires OS X 10.7 or newer."
return -code error "incompatible OS X version"
}
Expand Down
1 change: 1 addition & 0 deletions audio/qtplay/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ destroot {
}

if {${os.platform} eq "darwin" && ${os.major} > 11} {
known_fail yes
pre-fetch {
ui_error "${name} @${version} requires OS X 10.11 or older."
return -code error "incompatible macOS version"
Expand Down
5 changes: 3 additions & 2 deletions cad/LibreCAD/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ if {${subport} eq "${name}"} {
# see https://marc.info/?l=pkgsrc-changes&m=150505264620416&w=2
patchfiles-append patch-librecad-add-default-destructor-rsimage.diff

pre-fetch {
if {${os.platform} eq "darwin" && ${os.major} < 10} {
if {${os.platform} eq "darwin" && ${os.major} < 10} {
known_fail yes
pre-fetch {
ui_error "${name} ${version} requires an OS supporting qt5 to function."
return -code error "incompatible OS X version"
}
Expand Down
3 changes: 2 additions & 1 deletion databases/postgresql7/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ variant server description {add startup item for server} {
}

platform darwin i386 {
extract { return -code error "\n\nThis platform is not supported by PostgreSQL 7. Please migrate to the PostgreSQL 8 series!\n" }
known_fail yes
pre-fetch { return -code error "\n\nThis platform is not supported by PostgreSQL 7. Please migrate to the PostgreSQL 8 series!\n" }
}

livecheck.type none
Expand Down
1 change: 1 addition & 0 deletions devel/BWToolkit/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ hg.tag 590c12e68e7a
xcode.destroot.type framework

if {${os.platform} eq "darwin" && (${os.major} < 9 || ${os.major} > 10)} {
known_fail yes
pre-fetch {
ui_error "${name} ${version} requires OS X 10.5 or 10.6 only; it does not work on earlier or later versions of OS X."
return -code error "incompatible OS X version"
Expand Down
1 change: 1 addition & 0 deletions devel/SourceKitten/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ minimum_xcodeversions {17 10 18 10}

platform darwin {
if {${os.major} < 17} {
known_fail yes
pre-fetch {
ui_error "SourceKitten requires 10.13 and Xcode 10 to build."
return -code error "incompatible macOS version"
Expand Down
5 changes: 3 additions & 2 deletions devel/allegro/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ post-destroot {
}
}

pre-fetch {
if {${os.platform} eq "darwin" && ${os.major} > 10} {
if {${os.platform} eq "darwin" && ${os.major} > 10} {
known_fail yes
pre-fetch {
ui_error "${name} uses deprecated API which has been removed as of Mac OS X 10.7."
return -code error "incompatible Mac OS X version"
}
Expand Down
1 change: 1 addition & 0 deletions devel/class-dump/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ xcode.configuration Release
xcode.destroot.path ${prefix}/bin

if {${os.major} < 12} {
known_fail yes
pre-fetch {
ui_error "${name} @${version} requires OS X 10.8 or later."
return -code error "incompatible OS X version"
Expand Down
5 changes: 3 additions & 2 deletions devel/darwinbuild-legacy/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ platform darwin 9 {
}

# everything else fails, as it should
pre-fetch {
if {${os.platform} eq "darwin" && ${os.major} > 9} {
if {${os.platform} eq "darwin" && ${os.major} > 9} {
known_fail yes
pre-fetch {
return -code error "The ${name} port is only for Darwin 8 and 9. For Darwin\
10 and later, install the darwinbuild port."
}
Expand Down
7 changes: 5 additions & 2 deletions devel/darwinbuild/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,13 @@ variant universal {
set xcode.universal.sdk ""
}

pre-fetch {
if {${os.major} < 10} {
if {${os.major} < 10} {
known_fail yes
pre-fetch {
return -code error "For Darwin 8 & 9 support, install the darwinbuild-legacy port."
}
}
pre-fetch {
if {![variant_isset universal]} {
return -code error "You must install ${name} with the universal variant.\
Try running `port install ${name} +universal` "
Expand Down
1 change: 1 addition & 0 deletions devel/jubatus/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ depends_lib port:jubatus_core \

platform darwin {
if {${os.major} <= 10} {
known_fail yes
pre-fetch {
ui_error "$name does not build on Snow Leopard or earlier."
error "unsupported platform"
Expand Down
1 change: 1 addition & 0 deletions devel/jubatus_core/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ depends_lib port:msgpack \

platform darwin {
if {${os.major} <= 10} {
known_fail yes
pre-fetch {
ui_error "$name does not build on Snow Leopard or earlier."
error "unsupported platform"
Expand Down
1 change: 1 addition & 0 deletions devel/monotone/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ if {${name} eq ${subport}} {
use_bzip2 yes
checksums rmd160 c5e0f45028b806eb166b4aaecababa8e8e81b686 \
sha256 f95cf60a22d4e461bec9d0e72f5d3609c9a4576fb1cc45f553d0202ce2e38c88
known_fail yes
pre-fetch {
return -code error "monotone port is incompatible with the current botan. Use monotone-devel instead."
}
Expand Down
1 change: 1 addition & 0 deletions devel/nu2/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ depends_lib port:libffi \

platform darwin {
if {${os.major} < 11} {
known_fail yes
pre-fetch {
return -code error "${subport} @${version} requires OS X 10.7 Lion or later"
}
Expand Down
2 changes: 2 additions & 0 deletions devel/pficommon/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ patchfiles patch-wscript.diff

platform darwin {
if {${os.major} <= 10} {
known_fail yes
pre-fetch {
ui_error "${name} @${version} does not build on Snow Leopard or earlier."
error "unsupported platform"
}
} elseif {${os.major} >= 13} {
known_fail yes
pre-fetch {
ui_error "${name} @${version} does not build on Mavericks or later."
error "unsupported platform"
Expand Down
1 change: 1 addition & 0 deletions games/openrct2/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ checksums rmd160 16fe40e2a07034f8571b4020634b23f10506f39a \
# requires 10.11 or newer at present
# see https://trac.macports.org/ticket/55591
if { ${os.platform} eq "darwin" && ${os.major} < 15 } {
known_fail yes
pre-fetch {
ui_error "${name} requires OS X 10.11 or later"
return -code error "incompatible OS version"
Expand Down
1 change: 1 addition & 0 deletions games/supertuxkart/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ master_sites sourceforge:project/${name}/SuperTuxKart/${version}
# when building with 10.7 SDK on 10.6, errors regarding missing symbols
# are noted when running the app so that doesn't work either
if { ${os.platform} eq "darwin" && ${os.major} < 11 } {
known_fail yes
pre-fetch {
ui_error "${name} requires OS X 10.7 or later"
return -code error "incompatible OS version"
Expand Down
5 changes: 3 additions & 2 deletions graphics/Paintbrush/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ extract.mkdir yes
xcode.project Paintbrush2.xcodeproj
xcode.configuration Release

pre-fetch {
if {${os.major} < 9} {
if {${os.major} < 9} {
known_fail yes
pre-fetch {
return -code error "This version of ${name} is only for Mac OS X 10.5 or later."
}
}
1 change: 1 addition & 0 deletions graphics/agave/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ post-activate {

platform darwin {
if {${os.major} >= 13} {
known_fail yes
depends_lib
depends_build
pre-fetch {
Expand Down
6 changes: 4 additions & 2 deletions graphics/vtk5/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,10 @@ variant tcltk conflicts carbon description {Build with Tcl wrappers and Tk suppo
variant carbon conflicts x11 tcltk description {Use Carbon. Allows embedding VTK within qt4-mac (and py*-pyqt4 when used with Python)} {
supported_archs i386 ppc
if {${os.platform} eq "darwin" && ${os.major} >= 12} {
ui_error "${name}: 'carbon' is not supported on OS X 10.8 or greater"
return -code error "incompatible OS X version"
pre-fetch {
ui_error "${name}: 'carbon' is not supported on OS X 10.8 or greater"
return -code error "incompatible OS X version"
}
}
configure.args-delete \
-DVTK_USE_COCOA:BOOL=ON \
Expand Down
11 changes: 7 additions & 4 deletions java/hadoop/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,16 @@ depends_lib port:zlib \

set java_home /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home

pre-fetch {
# This port works on Mac OS X 10.6 or later, because 'sudo option -E'
# is not available on Mac OS X 10.5 or earlier. See #34665.
if {${os.platform} eq "darwin" && ${os.major} <= 9} {
# This port works on Mac OS X 10.6 or later, because 'sudo option -E'
# is not available on Mac OS X 10.5 or earlier. See #34665.
if {${os.platform} eq "darwin" && ${os.major} <= 9} {
known_fail yes
pre-fetch {
ui_error "This port works on Mac OS X 10.6 (Snow Leopard) or later"
return -code error "Mac OS X 10.6 (Snow Leopard) or later is required"
}
}
pre-fetch {
if {![file exists ${java_home}]} {
ui_error "Java 1.6 is required, but not located at ${java_home}"
return -code error "Java 1.6 missing"
Expand Down
1 change: 1 addition & 0 deletions java/jgoodies-common/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ use_configure no
worksrcdir ${name}-${version}

if {${os.platform} eq "darwin" && ${os.major} < 10} {
known_fail yes
pre-fetch {
ui_error "${name} ${version} requires OS X 10.6 or greater for Java 6."
return -code error "incompatible OS X version"
Expand Down
1 change: 1 addition & 0 deletions java/jgoodies-forms/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ use_configure no
worksrcdir ${name}-${version}

if {${os.platform} eq "darwin" && ${os.major} < 10} {
known_fail yes
pre-fetch {
ui_error "${name} ${version} requires OS X 10.6 or greater for Java 6."
return -code error "incompatible OS X version"
Expand Down
1 change: 1 addition & 0 deletions java/jgoodies-looks/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ use_configure no
worksrcdir ${name}-${version}

if {${os.platform} eq "darwin" && ${os.major} < 10} {
known_fail yes
pre-fetch {
ui_error "${name} ${version} requires OS X 10.6 or greater for Java 6."
return -code error "incompatible OS X version"
Expand Down
1 change: 1 addition & 0 deletions lang/apple-gcc40/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ checksums sha1 07574623e23103cb4024410ca48481fbb5da322e \

platform darwin {
if {${os.major} >= 13} {
known_fail yes
depends_lib
depends_run
pre-fetch {
Expand Down
1 change: 1 addition & 0 deletions lang/g95/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ if {${os.major} < 10 || ${build_arch} eq "ppc" || ${build_arch} eq "i386"} {
}

if {${os.platform} eq "darwin" && ([vercmp $xcodeversion 9.0] > 0)} {
known_fail yes
depends_lib
depends_run
archive_sites
Expand Down
1 change: 1 addition & 0 deletions lang/gauche-gtk/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ extract.suffix .tgz
checksums md5 18356efab446b9524be8371a3b852a6a
depends_lib port:gtk2 port:gauche

known_fail yes
pre-fetch {
return -code error "Sorry, this port is currently broken."
}
5 changes: 3 additions & 2 deletions lang/gcc10/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,9 @@ use_parallel_build yes
destroot.target install install-info-host

# Is this gcc release supported here.
pre-fetch {
if { ${os.major} < 11 } {
if { ${os.major} < 11 } {
known_fail yes
pre-fetch {
ui_error "${name} ${version} is not supported on Darwin ${os.major}"
return -code error "incompatible OS X version"
}
Expand Down
1 change: 1 addition & 0 deletions lang/gcc43/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ configure.env-append \
OTOOL64=${prefix}/bin/otool

if {${os.platform} eq "darwin" && ([vercmp $xcodeversion 9.0] > 0)} {
known_fail yes
depends_lib
depends_run
archive_sites
Expand Down
1 change: 1 addition & 0 deletions lang/gcc44/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ configure.env-append \
OTOOL64=${prefix}/bin/otool

if {${os.platform} eq "darwin" && ([vercmp $xcodeversion 9.0] > 0)} {
known_fail yes
depends_lib
depends_run
archive_sites
Expand Down
1 change: 1 addition & 0 deletions lang/gcc45/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ configure.env-append \
OTOOL64=${prefix}/bin/otool

if {${os.platform} eq "darwin" && ([vercmp $xcodeversion 9.0] > 0)} {
known_fail yes
depends_build
depends_lib
depends_run
Expand Down
1 change: 1 addition & 0 deletions lang/gcc46/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ configure.env-append \
OTOOL64=${prefix}/bin/otool

if {${os.platform} eq "darwin" && ([vercmp $xcodeversion 9.0] > 0)} {
known_fail yes
depends_lib
depends_run
archive_sites
Expand Down
1 change: 1 addition & 0 deletions lang/gcc47/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ configure.env-append \
OTOOL64=${prefix}/bin/otool

if {${os.platform} eq "darwin" && ([vercmp $xcodeversion 9.0] > 0)} {
known_fail yes
depends_lib
depends_run
archive_sites
Expand Down
1 change: 1 addition & 0 deletions lang/gcc48/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ configure.env-append \
OTOOL64=${prefix}/bin/otool

if {${os.platform} eq "darwin" && ([vercmp $xcodeversion 9.0] > 0)} {
known_fail yes
depends_lib
depends_run
archive_sites
Expand Down
1 change: 1 addition & 0 deletions lang/gcc49/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ configure.env-append \
OTOOL64=${prefix}/bin/otool

if {${os.platform} eq "darwin" && ([vercmp $xcodeversion 9.0] > 0)} {
known_fail yes
depends_lib
depends_run
archive_sites
Expand Down
Loading

0 comments on commit e789d20

Please sign in to comment.