Skip to content

Instantly share code, notes, and snippets.

@harrisj
Created September 23, 2009 22:07
Show Gist options
  • Save harrisj/192337 to your computer and use it in GitHub Desktop.
Save harrisj/192337 to your computer and use it in GitHub Desktop.
--- a/subversion-1.6.5/Makefile 2009-09-23 16:34:05.000000000 -0400
+++ b/subversion-1.6.5/Makefile 2009-09-23 17:53:37.000000000 -0400
@@ -41,8 +41,8 @@
-SVN_APR_LIBS = -L/usr/lib -R/usr/lib -lapr-1 -lpthread
-SVN_APRUTIL_LIBS = -L/usr/lib -R/usr/lib -laprutil-1 -lsqlite3 -lexpat -liconv
+SVN_APR_LIBS = -L#{HOMEBREW_PREFIX}/lib -L/usr/lib -R/usr/lib -lapr-1 -lpthread
+SVN_APRUTIL_LIBS = -L#{HOMEBREW_PREFIX}/lib -L/usr/lib -R/usr/lib -laprutil-1 -lsqlite3 -lexpat -liconv
SVN_APR_MEMCACHE_LIBS =
SVN_DB_LIBS =
SVN_GNOME_KEYRING_LIBS =
@@ -160,7 +160,7 @@
### -Wmissing-declarations) are not valid for C++, and should be somehow
### suppressed (but they may come from httpd or APR).
CPPFLAGS = -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp $(EXTRA_CPPFLAGS)
-LDFLAGS = -L/usr/lib -L//lib $(EXTRA_LDFLAGS)
+LDFLAGS = -L#{HOMEBREW_PREFIX}/lib -L/usr/lib -L//lib $(EXTRA_LDFLAGS)
SWIG_LDFLAGS = $(EXTRA_SWIG_LDFLAGS)
COMPILE = $(CC) $(CPPFLAGS) $(CFLAGS) $(INCLUDES)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment