opnsense-ports/sysutils/gkrellm2/files/patch-Makefile
Franco Fichtner 84c5ea69ee */*: sync with upstream
Taken from: FreeBSD
2025-02-06 12:31:11 +01:00

33 lines
873 B
Text

--- Makefile.orig 2025-01-19 16:02:37 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
@@ -117,7 +119,7 @@ export OS_RELEASE
export MANDIR SMANDIR MANDIRMODE MANMODE
export OS_RELEASE
-enable_nls=1
+enable_nls?=1
debug=0
export enable_nls
export debug
@@ -155,8 +157,8 @@ install_gkrellm.pc: gkrellm.pc
$(RM) $(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)