csomh / rpms / acl

Forked from rpms/acl 4 years ago
Clone

Blame SOURCES/acl-2.2.39-build.patch

9d170c
diff --git a/include/builddefs.in b/include/builddefs.in
9d170c
index d054a56..10b0cd4 100644
9d170c
--- a/include/builddefs.in
9d170c
+++ b/include/builddefs.in
9d170c
@@ -28,14 +28,14 @@ PKG_RELEASE	= @pkg_release@
9d170c
 PKG_VERSION	= @pkg_version@
9d170c
 PKG_PLATFORM	= @pkg_platform@
9d170c
 PKG_DISTRIBUTION= @pkg_distribution@
9d170c
-PKG_BIN_DIR	= @bindir@
9d170c
-PKG_SBIN_DIR	= @sbindir@
9d170c
-PKG_LIB_DIR	= @libdir@@libdirsuffix@
9d170c
-PKG_DEVLIB_DIR	= @libexecdir@@libdirsuffix@
9d170c
-PKG_INC_DIR	= @includedir@
9d170c
-PKG_MAN_DIR	= @mandir@
9d170c
-PKG_DOC_DIR	= @datadir@/doc/@pkg_name@
9d170c
-PKG_LOCALE_DIR	= @datadir@/locale
9d170c
+PKG_BIN_DIR	= $(DESTDIR)@bindir@
9d170c
+PKG_SBIN_DIR	= $(DESTDIR)@sbindir@
9d170c
+PKG_LIB_DIR	= $(DESTDIR)@libdir@@libdirsuffix@
9d170c
+PKG_DEVLIB_DIR	= $(DESTDIR)@libexecdir@@libdirsuffix@
9d170c
+PKG_INC_DIR	= $(DESTDIR)@includedir@
9d170c
+PKG_MAN_DIR	= $(DESTDIR)@mandir@
9d170c
+PKG_DOC_DIR	= $(DESTDIR)@datadir@/doc/@pkg_name@-@pkg_version@
9d170c
+PKG_LOCALE_DIR	= $(DESTDIR)@datadir@/locale
9d170c
 
9d170c
 CC		= @cc@
9d170c
 AWK		= @awk@
9d170c
diff --git a/include/buildmacros b/include/buildmacros
9d170c
index 17423c0..3118a17 100644
9d170c
--- a/include/buildmacros
9d170c
+++ b/include/buildmacros
9d170c
@@ -40,7 +40,7 @@ OBJECTS = $(ASFILES:.s=.o) \
9d170c
 	  $(LFILES:.l=.o) \
9d170c
 	  $(YFILES:%.y=%.tab.o)
9d170c
 
9d170c
-INSTALL	= $(TOPDIR)/include/install-sh -o $(PKG_USER) -g $(PKG_GROUP)
9d170c
+INSTALL	= $(TOPDIR)/include/install-sh
9d170c
 
9d170c
 SHELL = /bin/sh
9d170c
 IMAGES_DIR = $(TOPDIR)/all-images