ports/sysutils/gkrellm2/files/patch-Makefile
2016-09-08 12:41:02 +00:00

33 lines
876 B
Text

--- Makefile.orig 2016-09-05 18:22:42 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
@@ -118,7 +120,7 @@ export INSTALLDIR SINSTALLDIR INCLUDEDIR
export MANDIR SMANDIR MANDIRMODE MANMODE
export OS_RELEASE
-enable_nls=1
+enable_nls?=1
debug=0
export enable_nls
export debug
@@ -151,8 +153,8 @@ uninstall:
rm -f $(PKGCONFIGDIR)/gkrellm.pc
install_gkrellm.pc: 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)