[149859] trunk/dports/net/openssh/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Jul 4 11:46:05 PDT 2016


Revision: 149859
          https://trac.macports.org/changeset/149859
Author:   jeremyhu at macports.org
Date:     2016-07-04 11:46:05 -0700 (Mon, 04 Jul 2016)
Log Message:
-----------
openssh: Fix potential build failure

Modified Paths:
--------------
    trunk/dports/net/openssh/Portfile

Modified: trunk/dports/net/openssh/Portfile
===================================================================
--- trunk/dports/net/openssh/Portfile	2016-07-04 17:39:05 UTC (rev 149858)
+++ trunk/dports/net/openssh/Portfile	2016-07-04 18:46:05 UTC (rev 149859)
@@ -67,6 +67,10 @@
     reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/sandbox-darwin.c
 }
 
+# strnvis(3) isn't actually "broken".  OpenBSD decided to be special and flip
+# the order of arguments to strnvis and considers everyone else to be broken.
+configure.cppflags-append -DBROKEN_STRNVIS=1
+
 # Use Apple's sandboxing feature
 configure.cppflags-append -D__APPLE_SANDBOX_NAMED_EXTERNAL__
 configure.ldflags-append  -Wl,-search_paths_first
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160704/de654297/attachment.html>


More information about the macports-changes mailing list