aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2017-03-31 03:29:55 +0800
committerdanfe <danfe@FreeBSD.org>2017-03-31 03:29:55 +0800
commitd45402966250f94a5f5629f8b24d4df888db9bf5 (patch)
tree476291dd0024fd69c8fb469dc92d5fe2749761de /sysutils
parent292dd2c99636eca231fa6703905d4bc4be0845a5 (diff)
downloadfreebsd-ports-gnome-d45402966250f94a5f5629f8b24d4df888db9bf5.tar.gz
freebsd-ports-gnome-d45402966250f94a5f5629f8b24d4df888db9bf5.tar.zst
freebsd-ports-gnome-d45402966250f94a5f5629f8b24d4df888db9bf5.zip
Do not separate $(DESTDIR)$(PREFIX) with a slash: this is redundant when
PREFIX is an absolute path (common case) and could break things if it is not (and DESTDIR is empty).
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/radeontop/files/patch-Makefile6
-rw-r--r--sysutils/radeontop/files/patch-translations_Makefile2
2 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/radeontop/files/patch-Makefile b/sysutils/radeontop/files/patch-Makefile
index c57d59406e3f..e4e6a830d929 100644
--- a/sysutils/radeontop/files/patch-Makefile
+++ b/sysutils/radeontop/files/patch-Makefile
@@ -39,13 +39,13 @@
-install: all
- $(INSTALL) -D -m755 $(bin) $(DESTDIR)/$(PREFIX)/sbin/$(bin)
+install:
-+ $(INSTALL) -m755 $(bin) $(DESTDIR)/$(PREFIX)/sbin
++ $(INSTALL) -m755 $(bin) $(DESTDIR)$(PREFIX)/sbin
ifeq ($(xcb), 1)
- $(INSTALL) -D -m755 $(xcblib) $(DESTDIR)/$(PREFIX)/$(LIBDIR)/$(xcblib)
-+ $(INSTALL) -m755 $(xcblib) $(DESTDIR)/$(PREFIX)/$(LIBDIR)
++ $(INSTALL) -m755 $(xcblib) $(DESTDIR)$(PREFIX)/$(LIBDIR)
endif
- $(INSTALL) -D -m644 radeontop.1 $(DESTDIR)/$(PREFIX)/share/man/man1/radeontop.1
-+ $(INSTALL) -m644 radeontop.1 $(DESTDIR)/$(MANPREFIX)/man/man1
++ $(INSTALL) -m644 radeontop.1 $(DESTDIR)$(MANPREFIX)/man/man1
ifeq ($(nls), 1)
$(MAKE) -C translations install PREFIX=$(PREFIX)
endif
diff --git a/sysutils/radeontop/files/patch-translations_Makefile b/sysutils/radeontop/files/patch-translations_Makefile
index 74f3b68d6ece..c830e647ff24 100644
--- a/sysutils/radeontop/files/patch-translations_Makefile
+++ b/sysutils/radeontop/files/patch-translations_Makefile
@@ -5,6 +5,6 @@
%.inst: %.mo
- $(INSTALL) -D -m 644 $< $(DESTDIR)/$(PREFIX)/share/locale/$*/LC_MESSAGES/radeontop.mo
-+ $(INSTALL) -m 644 $< $(DESTDIR)/$(PREFIX)/share/locale/$*/LC_MESSAGES/radeontop.mo
++ $(INSTALL) -m 644 $< $(DESTDIR)$(PREFIX)/share/locale/$*/LC_MESSAGES/radeontop.mo
install: all $(inst)