attr/attr-2.4.46-build.patch

39 lines
1.4 KiB
Diff
Raw Normal View History

diff -ru attr-2.4.46/include/builddefs.in attr-2.4.46-build/include/builddefs.in
--- attr-2.4.46/include/builddefs.in 2010-01-22 23:55:11.000000000 +0100
+++ attr-2.4.46-build/include/builddefs.in 2012-01-29 22:57:50.000000000 +0100
@@ -40,14 +40,14 @@
PKG_VERSION = @pkg_version@
PKG_PLATFORM = @pkg_platform@
PKG_DISTRIBUTION= @pkg_distribution@
-PKG_BIN_DIR = @bindir@
-PKG_SBIN_DIR = @sbindir@
-PKG_LIB_DIR = @libdir@@libdirsuffix@
-PKG_DEVLIB_DIR = @libexecdir@@libdirsuffix@
-PKG_INC_DIR = @includedir@/attr
-PKG_MAN_DIR = @mandir@
-PKG_DOC_DIR = @datadir@/doc/@pkg_name@
-PKG_LOCALE_DIR = @datadir@/locale
+PKG_BIN_DIR = $(DESTDIR)@bindir@
+PKG_SBIN_DIR = $(DESTDIR)@sbindir@
+PKG_LIB_DIR = $(DESTDIR)@libdir@@libdirsuffix@
+PKG_DEVLIB_DIR = $(DESTDIR)@libexecdir@@libdirsuffix@
+PKG_INC_DIR = $(DESTDIR)@includedir@/attr
+PKG_MAN_DIR = $(DESTDIR)@mandir@
+PKG_DOC_DIR = $(DESTDIR)@datadir@/doc/@pkg_name@
+PKG_LOCALE_DIR = $(DESTDIR)@datadir@/locale
CC = @cc@
AWK = @awk@
diff -ru attr-2.4.46/include/buildmacros attr-2.4.46-build/include/buildmacros
--- attr-2.4.46/include/buildmacros 2010-01-22 23:55:11.000000000 +0100
+++ attr-2.4.46-build/include/buildmacros 2012-01-29 22:56:01.000000000 +0100
@@ -40,7 +40,7 @@
$(LFILES:.l=.o) \
$(YFILES:%.y=%.tab.o)
-INSTALL = $(TOPDIR)/include/install-sh -o $(PKG_USER) -g $(PKG_GROUP)
+INSTALL = $(TOPDIR)/include/install-sh
SHELL = /bin/sh
IMAGES_DIR = $(TOPDIR)/all-images