Just to report that using the prefix in the subj the libs are put in
/opt/harbour/lib/harbour.
make_gnu.sh worked since it tested only for /opt|/usr.
I've tried to replicate it in global.cf but I didn't find any clean
solution so to fix it
I've removed from config/global.cf:
# Not perfect, please enhance it.
ifneq ($(findstring /usr,$(HB_INSTALL_PREFIX)),)
LIBPOSTFIX := $(DIRSEP)harbour
else
ifneq ($(findstring /opt,$(HB_INSTALL_PREFIX)),)
LIBPOSTFIX := $(DIRSEP)harbour
endif
endif
I think that set correctly HB_INSTALL_PREFIX should be an user's
responsibility and a safe
default could be $HOME/harbour-ver.
Here the main goal seem to respect HB_INSTALL_PREFIX and protect
casual user from running "make install"
without knowing well what's he doing.
deb and rpm can be used to put things in system wide places.
best regards,
Lorenzo
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour