]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
osx: workaround issues with SIP on El Capitan
authorVincent Bernat <vincent@bernat.im>
Sun, 31 Jan 2016 15:05:00 +0000 (16:05 +0100)
committerVincent Bernat <vincent@bernat.im>
Sun, 31 Jan 2016 15:12:53 +0000 (16:12 +0100)
We cannot install in /usr anymore. Install in /usr/local instead (hoping
we won't conflict with HomeBrew).

NEWS
README.md

diff --git a/NEWS b/NEWS
index 848add033f8d4df5982937710691d49104c29aec..558871afb03c298bfeea1397e51cc62cb4fe1adf 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+lldpd (0.9.1)
+  * Change:
+    + Rework packaging for OS X to make it work with El Capitan. To
+      simplify a bit, it is not possible anymore to build fat
+      binaries. Latest version of OS X supporting 32bit was 10.6.
+
 lldpd (0.9.0)
   * Change:
     + Don't rely on libnl3 for netlink. Reuse the previous code and
index b3fe604f405082505913ad507b41205b40b94733..ff61e7848898c9084500ecbb28bbb0b3269acddb 100644 (file)
--- a/README.md
+++ b/README.md
@@ -72,7 +72,7 @@ simpler alternatives:
     version of OS X:
  
         mkdir build && cd build
-        ../configure --prefix=/usr --localstatedir=/var --sysconfdir=/private/etc --with-embedded-libevent \
+        ../configure --prefix=/usr/local --localstatedir=/var --sysconfdir=/private/etc --with-embedded-libevent \
             --without-json --without-snmp
         make -C osx pkg
 
@@ -81,7 +81,7 @@ simpler alternatives:
 
         SDK=/Developer/SDKs/MacOSX10.6.sdk
         mkdir build && cd build
-        ../configure --prefix=/usr --localstatedir=/var --sysconfdir=/private/etc --with-embedded-libevent \
+        ../configure --prefix=/usr/local --localstatedir=/var --sysconfdir=/private/etc --with-embedded-libevent \
            --without-json --without-snmp \
            CFLAGS="-mmacosx-version-min=10.6 -isysroot $SDK" \
            LDFLAGS="-mmacosx-version-min=10.6 -isysroot $SDK"