summaryrefslogtreecommitdiff
path: root/net/rabbitmq/patches/patch-Makefile
blob: 83008b92174d5b97b3fcf9b28634449156391a6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-Makefile,v 1.2 2022/10/15 18:26:27 triaxx Exp $

Use absolute paths for the sbin links.

--- Makefile.orig	2015-12-21 16:52:25.000000000 +0000
+++ Makefile
@@ -487,7 +487,7 @@ install-bin: install-scripts
 	$(verbose) mkdir -p $(DESTDIR)$(RMQ_BINDIR)
 	$(inst_verbose) for script in $(SCRIPTS); do \
 		test -e $(DESTDIR)$(RMQ_BINDIR)/$$script || \
-			ln -sf ../lib/$(notdir $(RMQ_ERLAPP_DIR))/sbin/$$script \
+			ln -sf $(RMQ_ERLAPP_DIR)/sbin/$$script \
 			 $(DESTDIR)$(RMQ_BINDIR)/$$script; \
 	done