@matheusbsbs / matheus-bagliano / commits / 0cfddacdcc
Fork 0

Use fink/darwinport paths for OSX

There's no standard libexpat for OSX, so if you install it after-market, it can end up in various directories. Give paths used by fink and darwinports by default to CFLAGS. Signed-off-by: Junio C Hamano <junkio@cox.net>

Randal L. Schwartz committed Nov 6, 2005 at 04:33 UTC 0cfddacdcca229deca9a1dcdf8628bf168171908
1 file changed +4
Makefile
+4
@@ -185,6 +185,10 @@ uname_O := $(shell sh -c 'uname -o 2>/dev/null || echo not')
185 ifeq ($(uname_S),Darwin)
186 NEEDS_SSL_WITH_CRYPTO = YesPlease
187 NEEDS_LIBICONV = YesPlease
188 + ## fink
189 + ALL_CFLAGS += -I/sw/include -L/sw/lib
190 + ## darwinports
191 + ALL_CFLAGS += -I/opt/local/include -L/opt/local/lib
192 endif
193 ifeq ($(uname_S),SunOS)
194 NEEDS_SOCKET = YesPlease