Fixing a few bugs

Change-Id: Ibc65ad1d41fca4a6244b246cd30428965f707227
diff --git a/make-deps.sh b/make-deps.sh
index d47e7a0..6a353e7 100755
--- a/make-deps.sh
+++ b/make-deps.sh
@@ -26,28 +26,22 @@
 
 patch -p1 <<EOF
 diff --git a/src/transport/unix-transport.cpp b/src/transport/unix-transport.cpp
-index 59c00ae..aa67b24 100644
+index 6b86a34..e72170e 100644
 --- a/src/transport/unix-transport.cpp
 +++ b/src/transport/unix-transport.cpp
-@@ -74,7 +74,7 @@ UnixTransport::getDefaultSocketName(const ConfigFile& config)
+@@ -72,7 +72,7 @@ UnixTransport::getDefaultSocketName(const ConfigFile& config)
      }
-
+ 
    // Assume the default nfd.sock location.
 -  return "/var/run/nfd.sock";
 +  return "/tmp/nfd.sock";
  }
-
+ 
  shared_ptr<UnixTransport>
-@@ -135,4 +135,4 @@ UnixTransport::resume()
-
- }
-
--#endif // _WIN32
-\ No newline at end of file
-+#endif // _WIN32
 EOF
 
-./waf configure --prefix="${path}/build/deps"
+./waf configure --prefix="${path}/build/deps" \
+                --sysconfdir="/Applications/NDN.app/Contents/etc"
 ./waf build
 ./waf install
 popd
@@ -60,7 +54,8 @@
 git checkout ${NFD_COMMIT}
 git submodule update --init
 PKG_CONFIG_PATH="${path}/build/deps/lib/pkgconfig:${PKG_CONFIG_PATH}" \
-               ./waf configure --prefix="${path}/build/deps"
+               ./waf configure --prefix="${path}/build/deps" \
+                               --sysconfdir="/Applications/NDN.app/Contents/etc"
 ./waf build
 ./waf install
 popd