diff options
-rw-r--r-- | package/iptraf-ng/Makefile | 4 | ||||
-rw-r--r-- | package/iptraf-ng/patches/patch-Makefile | 11 |
2 files changed, 13 insertions, 2 deletions
diff --git a/package/iptraf-ng/Makefile b/package/iptraf-ng/Makefile index 50199ae5d..d6dbecc56 100644 --- a/package/iptraf-ng/Makefile +++ b/package/iptraf-ng/Makefile @@ -26,7 +26,7 @@ XAKE_FLAGS+= PLATFORM="-DPLATFORM=\\\"Linux/${ARCH}\\\"" \ WORKDIR="/var/lib/iptraf-ng" V=1 iptraf-ng-install: - ${INSTALL_DIR} ${IDIR_IPTRAF_NG}/usr/bin - ${INSTALL_BIN} ${WRKINST}/sbin/iptraf-ng ${IDIR_IPTRAF_NG}/usr/bin + ${INSTALL_DIR} ${IDIR_IPTRAF_NG}/usr/sbin + ${INSTALL_BIN} ${WRKINST}/usr/sbin/iptraf-ng ${IDIR_IPTRAF_NG}/usr/sbin include ${ADK_TOPDIR}/mk/pkg-bottom.mk diff --git a/package/iptraf-ng/patches/patch-Makefile b/package/iptraf-ng/patches/patch-Makefile new file mode 100644 index 000000000..597248cfe --- /dev/null +++ b/package/iptraf-ng/patches/patch-Makefile @@ -0,0 +1,11 @@ +--- iptraf-ng-v1.2.1.orig/Makefile 2024-02-25 17:52:43.000000000 +0100 ++++ iptraf-ng-v1.2.1/Makefile 2024-02-25 17:54:46.973660535 +0100 +@@ -25,7 +25,7 @@ ALL_CFLAGS = $(CPPFLAGS) $(CFLAGS) $(IPT + ALL_LDFLAGS = $(LDFLAGS) + STRIP ?= strip + +-prefix = $(HOME) ++prefix = /usr + sbindir_relative = sbin + sbindir = $(prefix)/$(sbindir_relative) + mandir = $(prefix)/share/man |