summaryrefslogtreecommitdiff
path: root/cocoa/Makefile.target
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa/Makefile.target')
-rw-r--r--cocoa/Makefile.target5
1 files changed, 5 insertions, 0 deletions
diff --git a/cocoa/Makefile.target b/cocoa/Makefile.target
index 367278087..53ec553d6 100644
--- a/cocoa/Makefile.target
+++ b/cocoa/Makefile.target
@@ -17,6 +17,11 @@
# shut up zconf.h and zlib.h
#CFLAGS += -D_LARGEFILE64_SOURCE=1
+ifneq ($(WITH_MACPORTS),)
+ LDFLAGS += -L/opt/local/lib
+ CFLAGS += -I/opt/local/include
+endif
+
# for timerisset()
CFLAGS += -D_DARWIN_C_SOURCE