]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - attr/patches/attr-2.4.46-build.patch
attr: Fix installation.
[people/amarx/ipfire-3.x.git] / attr / patches / attr-2.4.46-build.patch
CommitLineData
4cf37d60
SS
1diff -Nur a/include/builddefs.in b/include/builddefs.in
2--- a/include/builddefs.in 2008-06-30 07:38:27.000000000 +0200
3+++ b/include/builddefs.in 2012-04-12 22:20:47.479076688 +0200
4@@ -27,14 +27,14 @@
5 PKG_VERSION = @pkg_version@
6 PKG_PLATFORM = @pkg_platform@
7 PKG_DISTRIBUTION= @pkg_distribution@
8-PKG_BIN_DIR = @bindir@
9-PKG_SBIN_DIR = @sbindir@
10-PKG_LIB_DIR = @libdir@@libdirsuffix@
11-PKG_DEVLIB_DIR = @libexecdir@@libdirsuffix@
12-PKG_INC_DIR = @includedir@/attr
13-PKG_MAN_DIR = @mandir@
14-PKG_DOC_DIR = @datadir@/doc/@pkg_name@
15-PKG_LOCALE_DIR = @datadir@/locale
16+PKG_BIN_DIR = $(DESTDIR)@bindir@
17+PKG_SBIN_DIR = $(DESTDIR)@sbindir@
18+PKG_LIB_DIR = $(DESTDIR)@libdir@@libdirsuffix@
19+PKG_DEVLIB_DIR = $(DESTDIR)@libexecdir@@libdirsuffix@
20+PKG_INC_DIR = $(DESTDIR)@includedir@/attr
21+PKG_MAN_DIR = $(DESTDIR)@mandir@
22+PKG_DOC_DIR = $(DESTDIR)@datadir@/doc/@pkg_name@
23+PKG_LOCALE_DIR = $(DESTDIR)@datadir@/locale
24
25 CC = @cc@
26 AWK = @awk@
27diff -Nur a/include/buildmacros b/include/buildmacros
28--- a/include/buildmacros 2008-06-30 07:22:18.000000000 +0200
29+++ b/include/buildmacros 2012-04-12 22:21:18.737379800 +0200
30@@ -27,7 +27,7 @@
31 $(LFILES:.l=.o) \
32 $(YFILES:%.y=%.tab.o)
33
34-INSTALL = $(TOPDIR)/install-sh -o $(PKG_USER) -g $(PKG_GROUP)
35+INSTALL = $(TOPDIR)/install-sh
36
37 SHELL = /bin/sh
38 IMAGES_DIR = $(TOPDIR)/all-images