GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_LOCAL_ROOT)
LIBRARY_NAME = libNGObjWeb
+ifeq ($(FHS_INSTALL_ROOT),)
RESOURCES_DIR = $(GNUSTEP_RESOURCES)/NGObjWeb
+else
+RESOURCES_DIR = $(FHS_INSTALL_ROOT)/share/sope-4.3/ngobjweb
+endif
libNGObjWeb_CPPFLAGS += -pipe -DCOMPILING_NGOBJWEB=1
2004-08-29 Helge Hess <helge.hess@opengroupware.org>
+ * NGBundleManager.m: fixed an issue when running without GNUstep
+ environment (v4.3.110)
+
* v4.3.109
* NGBundleManager.m: look for bundles in GNUSTEP_PATHPREFIX_LIST and
}
if (paths)
[self->bundleSearchPaths addObjectsFromArray:paths];
- else
+ else if (debugOn)
NSLog(@"Note: NGBundlePath default is not configured.");
-
- // look into environment
+
+ /* look into environment */
paths = [[pi environment] objectForKey:@"NGBundlePath"];
if (paths) {
if ((tmp = [env objectForKey:@"GNUSTEP_PATHPREFIX_LIST"]) == nil)
tmp = [env objectForKey:@"GNUSTEP_PATHLIST"];
tmp = [tmp componentsSeparatedByString:@":"];
-
+
for (i = 0; i < count; i++) {
p = [tmp objectAtIndex:i];
p = [p stringByAppendingPathComponent:@"Library"];
p = [p stringByAppendingPathComponent:@"Bundles"];
if ([self->bundleSearchPaths containsObject:p]) continue;
-
- [self->bundleSearchPaths addObject:p];
+
+ if (p) [self->bundleSearchPaths addObject:p];
}
#endif
}