changeset 51:00bde93e84a1

Set the default PACKAGE_PATH on OS X to point to /opt/local. On OS X PACKAGE_PATH is only used for specifying user installed fonts and MacPorts uses /opt/local by default. Reveiwed/tested by Landon Fuller
author kurt
date Sun, 25 Jan 2009 08:37:20 -0500
parents c15ebbe94f71
children d05f3b968ce2
files make/common/Defs.gmk
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/Defs.gmk	Thu Jan 22 19:21:21 2009 -0800
+++ b/make/common/Defs.gmk	Sun Jan 25 08:37:20 2009 -0500
@@ -66,7 +66,11 @@
     ifeq ($(PLATFORM), linux)
       PACKAGE_PATH = /usr
     else
-      PACKAGE_PATH = /usr/local
+      ifeq ($(OS_VENDOR), Apple)
+        PACKAGE_PATH = /opt/local
+      else
+        PACKAGE_PATH = /usr/local
+      endif
     endif
   endif
 endif