Ticket #27250: Portfile2.patch

File Portfile2.patch, 1.0 KB (added by lassi.tuura@…, 13 years ago)

Updated patch for openssh 5.9p1

  • Portfile

    old new  
    7272  depends_run-delete    port:xauth
    7373}
    7474
     75variant gsskex {
     76  set extra_cppflags [concat \
     77    "-F/System/Library/Frameworks/OpenDirectory.framework" \
     78    "-F/System/Library/Frameworks/CoreFoundation.framework" \
     79    "-D_UTMPX_COMPAT -D__APPLE_LAUNCHD__ -D__APPLE_MEMBERSHIP__" \
     80    "-D__APPLE_XSAN__"]
     81  use_autoreconf yes
     82  patch.pre_args -p1
     83  patchfiles-append openssh-5.9p1-gsskex-all-20110920.patch apple-keychain.patch
     84  configure.args-append --with-4in6 --with-audit=bsm --with-keychain=apple \
     85      --disable-utmp --disable-wtmp --with-privsep-user=_sshd \
     86      CFLAGS="-fPIE -O2" CPPFLAGS="$extra_cppflags" \
     87      LDFLAGS="-Wl,-pie -framework CoreFoundation -framework OpenDirectory"
     88}
     89
    7590# For high-performance patch
    7691# re-enable when patch for current version is available
    7792#variant hpn description "apply high performance patch" {