changeset 829:3497f1f1afa4

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:36:08 -0500
parents 2e8cd6d78858
children 7c068a5cd148
files make/common/Defs.gmk
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/Defs.gmk	Sun Jan 25 08:32:08 2009 -0500
+++ b/make/common/Defs.gmk	Sun Jan 25 08:36:08 2009 -0500
@@ -185,7 +185,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