summaryrefslogtreecommitdiff
path: root/sysutils/xentools30/patches/patch-bo
blob: 8db5f298caece44a5fe6889a4be44792f51580d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-bo,v 1.2 2006/10/19 22:57:13 bouyer Exp $

--- xcutils/Makefile.orig	2006-10-16 22:32:32.000000000 +0200
+++ xcutils/Makefile	2006-10-16 22:33:41.000000000 +0200
@@ -28,7 +28,7 @@
 
 PROGRAMS		= xc_restore xc_save readnotes
 
-LDLIBS			= -L$(XEN_LIBXC) -lxenguest -lxenctrl
+LDLIBS			=  $(LDFLAGS) -L$(XEN_LIBXC) -lxenguest -lxenctrl
 
 .PHONY: all
 all: build
@@ -41,9 +41,8 @@
 
 .PHONY: install
 install: build
-	[ -d $(DESTDIR)$(PROGRAMS_INSTALL_DIR) ] || \
-		$(INSTALL_DIR) $(DESTDIR)$(PROGRAMS_INSTALL_DIR)
-	$(INSTALL_PROG) $(PROGRAMS) $(DESTDIR)$(PROGRAMS_INSTALL_DIR)
+	$(BSD_INSTALL_PROGRAM_DIR) $(PREFIX)/bin
+	$(BSD_INSTALL_PROGRAM) $(PROGRAMS) $(PREFIX)/bin
 
 
 .PHONY: clean