summaryrefslogtreecommitdiff
path: root/devel/gnustep-make/gnustep.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gnustep-make/gnustep.mk')
-rw-r--r--devel/gnustep-make/gnustep.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/gnustep-make/gnustep.mk b/devel/gnustep-make/gnustep.mk
index f085d3bffb8..f9ad24434c1 100644
--- a/devel/gnustep-make/gnustep.mk
+++ b/devel/gnustep-make/gnustep.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gnustep.mk,v 1.17 2009/04/20 05:51:00 rh Exp $
+# $NetBSD: gnustep.mk,v 1.18 2009/10/06 14:57:28 joerg Exp $
.if !defined(GNUSTEP_MK)
GNUSTEP_MK= #defined
@@ -21,7 +21,11 @@ GNUSTEP_CONFIG_FILE= ${PKG_SYSCONFDIR}/GNUstep.conf
GNUSTEP_FLATTENED= yes
GNUSTEP_IS_FLATTENED= yes
+.if defined(GNUSTEP_USE_REAL_USER_ROOT)
+GNUSTEP_USER_ROOT= ${PREFIX}/share/GNUstep
+.else
GNUSTEP_USER_ROOT= ${BUILDLINK_DIR}/share/GNUstep
+.endif
GNUSTEP_PATHLIST= ${GNUSTEP_USER_ROOT}
GNUSTEP_PATH= ${GNUSTEP_USER_ROOT}/Tools:${GNUSTEP_USER_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}
GUILE_LOAD_PATH= ${GNUSTEP_USER_ROOT}/Libraries/Guile:${GNUSTEP_USER_ROOT}/lib