Files
libaio/SRC/patches/01_destdir.patch
2018-01-11 22:51:11 -06:00

13 lines
390 B
Diff

diff -Naur a/Makefile b/Makefile
--- a/Makefile 2014-01-24 10:01:02.000000000 -0600
+++ b/Makefile 2018-01-11 21:17:38.739182303 -0600
@@ -5,7 +5,7 @@
CVSTAG = $(NAME)_$(subst .,-,$(VERSION))_$(subst .,-,$(RELEASE))
RPMBUILD=$(shell `which rpmbuild >&/dev/null` && echo "rpmbuild" || echo "rpm")
-prefix=/usr
+prefix=$(DESTDIR)/usr
includedir=$(prefix)/include
libdir=$(prefix)/lib