--- helpcontent2/util/target.pmk.old	2005-09-28 14:02:27.000000000 +0200
+++ helpcontent2/util/target.pmk	2005-12-16 20:11:47.000000000 +0100
@@ -40,7 +40,9 @@
 ALLTAR : $(LINKALLTARGETS)
 .ENDIF
 
-.IF "$(SYSTEM_DB)" != "YES"
+.IF "$(SYSTEM_DB)" == "YES"
+JAVA_LIBRARY_PATH= -Djava.library.path=/lib:/lib64:/usr/lib:/usr/lib64:/usr/local/lib:/usr/local/lib64
+.ELSE
 JAVA_LIBRARY_PATH= -Djava.library.path=$(SOLARSHAREDBIN)
 .ENDIF
 
