pkgsrc/sysutils/xentools12/patches/patch-ag
cl 05e1952f64 add xentools12 package:
The Xen virtual machine monitor allows running several virtual machines
on a single physical machine.  The xentools12 package contains the
tools to create, destroy and control the virtual machines.

The xentools12 package contains the tools for Xen v1.2.
2004-05-08 18:24:00 +00:00

27 lines
820 B
Text

$NetBSD: patch-ag,v 1.1 2004/05/08 18:24:00 cl Exp $
--- xc/lib/Makefile.orig 2004-04-18 04:29:11.000000000 +0200
+++ xc/lib/Makefile
@@ -6,6 +6,7 @@ SONAME = libxc.so.$(MAJOR)
CC = gcc
CFLAGS = -c -Wall -O3
CFLAGS += -I../../../xen/include -I../../../xenolinux-sparse/include
+CFLAGS += -I../../../../netbsd-xen-kernel-headers
HDRS = $(wildcard *.h)
OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
@@ -23,12 +24,8 @@ check-for-zlib:
fi
install: all
- mkdir -p $(prefix)/usr/lib
- mkdir -p $(prefix)/usr/include
- cp -a $(LIB) $(prefix)/usr/lib
- chmod 755 $(prefix)/usr/lib/$(LIB)
- cp xc.h $(prefix)/usr/include
- chmod 644 $(prefix)/usr/include/xc.h
+ ${BSD_INSTALL_PROGRAM} $(LIB) ${PREFIX}/lib
+ ${BSD_INSTALL_DATA} xc.h ${PREFIX}/include
dist: all
mkdir -p ../../../../install/lib