summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-22 00:02:15 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-22 00:02:38 -0700
commitb6d6b0c1c8001731c4e233f8b6a0c75998585317 (patch)
treeedce357ef84ef60b1bcdfa54dbd075629b01af0e /crawl-ref/source/makefile
parent2ef730772d51611e6300a25a8d306df5465c7cfb (diff)
downloadcrawl-ref-b6d6b0c1c8001731c4e233f8b6a0c75998585317.tar.gz
crawl-ref-b6d6b0c1c8001731c4e233f8b6a0c75998585317.zip
makefile: fix MacPorts-based tiles build
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r--crawl-ref/source/makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile
index d1cae15621..6189693793 100644
--- a/crawl-ref/source/makefile
+++ b/crawl-ref/source/makefile
@@ -253,6 +253,8 @@ $(warning Using this makefile to build a tiles build on Mac OS X is NOT OFFICIAL
$(warning You should have no expectation of stability if you choose to continue anyway!)
$(warning Please use the Xcode project instead.)
$(error To build anyway, add the flag UNSUPPORTED_BUILD=y to the command-line)
+else
+EXTRA_LIBS += -framework OpenGL -framework AppKit
endif
endif
@@ -306,7 +308,7 @@ LIB += -lSDL_image $(SDL_LDFLAGS) $(PNG_LDFLAGS) $(FREETYPE_LDFLAGS)
endif # pkg-config
-ifneq ($(OSNAME),MacOS)
+ifneq ($(uname_S),Darwin)
ifeq (,$(findstring MINGW,$(uname_S)))
LIB += -lGL -lGLU
else