Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Use fink/darwinport paths for OSX
author
Randal L. Schwartz
<merlyn@stonehenge.com>
Sun, 6 Nov 2005 12:33:07 +0000
(
04:33
-0800)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 6 Nov 2005 18:52:48 +0000
(10:52 -0800)
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>
Makefile
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
bb73d73
)
diff --git
a/Makefile
b/Makefile
index 6f9b0d185a4e5b0415ac4da253caa6357cc16b44..f89e0bd298e67d33f90d52b6bdf5d5db17561b91 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-185,6
+185,10
@@
uname_O := $(shell sh -c 'uname -o 2>/dev/null || echo not')
ifeq ($(uname_S),Darwin)
NEEDS_SSL_WITH_CRYPTO = YesPlease
NEEDS_LIBICONV = YesPlease
+ ## fink
+ ALL_CFLAGS += -I/sw/include -L/sw/lib
+ ## darwinports
+ ALL_CFLAGS += -I/opt/local/include -L/opt/local/lib
endif
ifeq ($(uname_S),SunOS)
NEEDS_SOCKET = YesPlease