csomh / rpms / acl

Forked from rpms/acl 4 years ago
Clone

Blame SOURCES/acl-2.2.39-build.patch

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