diff options
author | 2017-08-15 09:11:35 +0200 | |
---|---|---|
committer | 2017-08-15 09:11:35 +0200 | |
commit | 2e532c0afb904d63c70525fd387431c42cee6f82 (patch) | |
tree | 873d68f27321d36e14fbbeb2d93da46ad919e7f4 /Makefile | |
parent | Add application script, and a Makefile (diff) | |
download | elt-patches-2e532c0afb904d63c70525fd387431c42cee6f82.tar.gz elt-patches-2e532c0afb904d63c70525fd387431c42cee6f82.tar.bz2 elt-patches-2e532c0afb904d63c70525fd387431c42cee6f82.zip |
Support substituting functions.sh path as well, to fix Prefix20170815
Bug: https://bugs.gentoo.org/627824
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 DESTDIR = -prefix = /usr +rootprefix = +gentoofuncs = $(rootprefix)/lib/gentoo/functions.sh +prefix = $(rootprefix)/usr bindir = $(prefix)/bin libdirname = lib datadir = $(prefix)/share @@ -16,6 +18,7 @@ eltpatch: eltpatch.in rm -f $@ $@.tmp sed -e 's^@ELT_patchdir@^$(patchdir)^' \ -e 's^@ELT_libdir@^$(libdirname)^' \ + -e 's^@ELT_gentoofuncs@^$(gentoofuncs)^' \ $< > $@.tmp chmod +x $@.tmp mv $@.tmp $@ |