Purification in preparation for pure-darwin merge (shouldsn't hurt anything in the meantime)
This commit is contained in:
parent
063c901d6c
commit
d8ad39d2e6
@ -5,6 +5,10 @@ source $stdenv/setup
|
|||||||
# *our* versions, not the ones found in the system, as it would do by default.
|
# *our* versions, not the ones found in the system, as it would do by default.
|
||||||
# On other platforms, this appears to be unnecessary.
|
# On other platforms, this appears to be unnecessary.
|
||||||
preConfigure() {
|
preConfigure() {
|
||||||
|
for i in Makefile.in ./src/Makefile.in ./lib-src/Makefile.in ./leim/Makefile.in; do
|
||||||
|
substituteInPlace $i --replace /bin/pwd pwd
|
||||||
|
done
|
||||||
|
|
||||||
case "${system}" in
|
case "${system}" in
|
||||||
x86_64-linux) glibclibdir=lib64 ;;
|
x86_64-linux) glibclibdir=lib64 ;;
|
||||||
i686-linux) glibclibdir=lib ;;
|
i686-linux) glibclibdir=lib ;;
|
||||||
@ -23,7 +27,9 @@ preConfigure() {
|
|||||||
--replace /usr/lib/crti.o $libc/${glibclibdir}/crti.o \
|
--replace /usr/lib/crti.o $libc/${glibclibdir}/crti.o \
|
||||||
--replace /usr/lib/crtn.o $libc/${glibclibdir}/crtn.o
|
--replace /usr/lib/crtn.o $libc/${glibclibdir}/crtn.o
|
||||||
done
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
preInstall () {
|
||||||
for i in Makefile.in ./src/Makefile.in ./lib-src/Makefile.in ./leim/Makefile.in; do
|
for i in Makefile.in ./src/Makefile.in ./lib-src/Makefile.in ./leim/Makefile.in; do
|
||||||
substituteInPlace $i --replace /bin/pwd pwd
|
substituteInPlace $i --replace /bin/pwd pwd
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user