--- Makefile.orig 2010-10-02 16:21:01 UTC +++ Makefile @@ -3,7 +3,9 @@ # make # For FreeBSD 2.X: # make freebsd2 -# For FreeBSD 3.X or later: +# For FreeBSD 3.X and 4.X: +# make freebsd3 +# For FreeBSD 5.X or later: # make freebsd # For NetBSD 1.5 - 1.6.X # make netbsd1 @@ -120,7 +122,7 @@ export MANDIR SMANDIR MANDIRMODE MANMODE export OS_NAME OS_RELEASE -enable_nls=1 +enable_nls?=1 debug=0 export enable_nls export debug @@ -162,8 +164,8 @@ rm -f $(PKGCONFIGDIR)/gkrellm.pc install_gkrellm.pc: - $(INSTALL) -d $(PKGCONFIGDIR) - $(INSTALL) -m $(INCLUDEMODE) -c gkrellm.pc $(PKGCONFIGDIR) + $(INSTALL) -d $(DESTDIR)$(PKGCONFIGDIR) + $(INSTALL) -m $(INCLUDEMODE) -c gkrellm.pc $(DESTDIR)$(PKGCONFIGDIR) install_darwin install_darwin9 install_macosx: install_gkrellm.pc (cd po && ${MAKE} install)