summaryrefslogtreecommitdiff
path: root/sysutils/xentools20/patches/patch-aj
blob: ac077190adfd3cdb1a16cb1a381eb20c9363d15d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aj,v 1.2 2005/05/24 16:02:08 xtraeme Exp $

--- libxutil/Makefile.orig	2005-05-24 00:36:28.000000000 +0000
+++ libxutil/Makefile	2005-05-24 00:38:14.000000000 +0000
@@ -65,11 +65,11 @@
 	fi
 
 install: build
-	[ -d $(DESTDIR)/usr/lib ] || $(INSTALL_DIR) -p $(DESTDIR)/usr/lib
-	$(INSTALL_PROG) libxutil.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib
-	$(INSTALL_DATA) libxutil.a $(DESTDIR)/usr/lib
-	ln -sf libxutil.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib/libxutil.so.$(MAJOR)
-	ln -sf libxutil.so.$(MAJOR) $(DESTDIR)/usr/lib/libxutil.so
+	$(BSD_INSTALL_LIB_DIR) $(PREFIX)/lib
+	$(BSD_INSTALL_LIB) libxutil.so.$(MAJOR).$(MINOR) $(PREFIX)/lib
+	$(BSD_INSTALL_LIB) libxutil.a $(PREFIX)/lib
+	ln -sf libxutil.so.$(MAJOR).$(MINOR) $(PREFIX)/lib/libxutil.so.$(MAJOR)
+	ln -sf libxutil.so.$(MAJOR) $(PREFIX)/lib/libxutil.so
 
 clean:
 	$(RM) *.a *.so* *.o *.opic *.rpm