25 lines
781 B
Text
25 lines
781 B
Text
$NetBSD: patch-bo,v 1.2 2008/08/07 16:00:14 joerg Exp $
|
|
|
|
--- xcutils/Makefile.orig 2007-05-18 16:45:21.000000000 +0200
|
|
+++ xcutils/Makefile 2007-05-27 14:37:57.000000000 +0200
|
|
@@ -24,7 +24,7 @@
|
|
|
|
PROGRAMS = xc_restore xc_save readnotes
|
|
|
|
-LDLIBS = -L$(XEN_LIBXC) -L$(XEN_XENSTORE) -lxenguest -lxenctrl -lxenstore
|
|
+LDLIBS = $(LDFLAGS) -L$(XEN_LIBXC) -L$(XEN_XENSTORE) -lxenguest -lxenctrl -lxenstore
|
|
|
|
.PHONY: all
|
|
all: build
|
|
@@ -37,9 +37,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) ${DESTDIR}$(PREFIX)/bin
|
|
+ $(BSD_INSTALL_PROGRAM) $(PROGRAMS) ${DESTDIR}$(PREFIX)/bin
|
|
|
|
|
|
.PHONY: clean
|