Fix pacman-optimize autoconf paths
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
d9ff7bbcd2
commit
1698022bea
2 changed files with 3 additions and 6 deletions
|
@ -33,12 +33,10 @@ MOSTLYCLEANFILES = $(bin_SCRIPTS) *.tmp
|
||||||
edit = sed \
|
edit = sed \
|
||||||
-e 's|@localedir[@]|$(localedir)|g' \
|
-e 's|@localedir[@]|$(localedir)|g' \
|
||||||
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
|
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
|
||||||
|
-e 's|@localstatedir[@]|$(localstatedir)|g' \
|
||||||
-e 's|@prefix[@]|$(prefix)|g' \
|
-e 's|@prefix[@]|$(prefix)|g' \
|
||||||
-e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
|
-e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
|
||||||
-e 's|@PACKAGE_NAME[@]|$(PACKAGE_NAME)|g' \
|
-e 's|@PACKAGE_NAME[@]|$(PACKAGE_NAME)|g' \
|
||||||
-e 's|@ROOTDIR[@]|$(ROOTDIR)|g' \
|
|
||||||
-e 's|@DBPATH[@]|$(DBPATH)|g' \
|
|
||||||
-e 's|@LOCKFILE[@]|$(LOCKFILE)|g' \
|
|
||||||
-e 's|@configure_input[@]|Generated from $@.in; do not edit by hand.|g'
|
-e 's|@configure_input[@]|Generated from $@.in; do not edit by hand.|g'
|
||||||
|
|
||||||
## All the scripts depend on Makefile so that they are rebuilt when the
|
## All the scripts depend on Makefile so that they are rebuilt when the
|
||||||
|
|
|
@ -26,9 +26,8 @@ export TEXTDOMAIN='pacman'
|
||||||
export TEXTDOMAINDIR='@localedir@'
|
export TEXTDOMAINDIR='@localedir@'
|
||||||
|
|
||||||
myver='@PACKAGE_VERSION@'
|
myver='@PACKAGE_VERSION@'
|
||||||
# TODO fix these paths
|
dbroot='@localstatedir@/lib/pacman/'
|
||||||
dbroot='@ROOTDIR@@DBPATH@'
|
lockfile='@localstatedir@/run/pacman.lck'
|
||||||
lockfile='@ROOTDIR@@LOCKFILE@'
|
|
||||||
|
|
||||||
msg() {
|
msg() {
|
||||||
local mesg=$1; shift
|
local mesg=$1; shift
|
||||||
|
|
Loading…
Add table
Reference in a new issue