Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xsel: disable check for autoconf vfork AC_FUNC_FORK #13078

Merged
merged 1 commit into from
Dec 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions x11/xsel/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ depends_build port:xorg-libXt

depends_lib port:xorg-libX11

# cache autoconf vfork check to yes on darwin 21+ (macOS Monterey) disabling
# the autoconf vfork macro "#define vfork fork" that will result in a build
# failure due to vfork deprecation warning in macOS Monterey and -Werror
# https://trac.macports.org/ticket/63748
# https://github.com/kfish/xsel/issues/42
if {${os.platform} eq "darwin" && ${os.major} >= 21} {
configure.args-append ac_cv_func_vfork=yes
}

post-destroot {
set docdir ${destroot}${prefix}/share/doc/${subport}
xinstall -d ${docdir}
Expand Down