From 19e01873b0a11ab4779f3306195596435db7282a Mon Sep 17 00:00:00 2001 From: hippoz Date: Wed, 30 Jun 2021 00:59:16 +0300 Subject: [PATCH] enforce proper usage of --prefix --- binutils/Makefile | 2 +- bison/Makefile | 2 +- curl/Makefile | 2 +- xorg/Makefile | 2 +- xztools/Makefile | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/binutils/Makefile b/binutils/Makefile index 2086250..4bb8f11 100644 --- a/binutils/Makefile +++ b/binutils/Makefile @@ -3,7 +3,7 @@ prepare: tar -xf binutils.tar.gz cd binutils make: - @../configure --prefix=${PREFIX}/usr \ + @../configure --prefix=/usr \ --enable-gold \ --enable-ld=default \ --enable-plugins \ diff --git a/bison/Makefile b/bison/Makefile index f94db15..62e706e 100644 --- a/bison/Makefile +++ b/bison/Makefile @@ -3,7 +3,7 @@ prepare: tar -xf bison.tar.gz cd bison make: - @./configure --prefix=${PREFIX}/usr + @./configure --prefix=/usr make install: make install DESTDIR="${PREFIX}" diff --git a/curl/Makefile b/curl/Makefile index ab98e22..e7dd4b9 100644 --- a/curl/Makefile +++ b/curl/Makefile @@ -3,7 +3,7 @@ prepare: tar -xf curl.tar.gz cd curl make: - @./configure --prefix=${PREFIX}/usr --with-openssl + @./configure --prefix=/usr --with-openssl make install: make install DESTDIR="${PREFIX}" diff --git a/xorg/Makefile b/xorg/Makefile index 9493d12..007313b 100644 --- a/xorg/Makefile +++ b/xorg/Makefile @@ -3,7 +3,7 @@ prepare: cd xserver xorg: ./configure \ - --prefix=${PREFIX} \ + --prefix=/usr \ --localstatedir=/var \ --disable-systemd-logind \ --disable-xwayland \ diff --git a/xztools/Makefile b/xztools/Makefile index 7fa4e99..cd6f443 100644 --- a/xztools/Makefile +++ b/xztools/Makefile @@ -3,8 +3,8 @@ prepare: cd xz make: ./configure \ - --prefix=${PREFIX} \ - --disable-nls + --prefix=/usr \ + --disable-nls make install: make install DESTDIR="${PREFIX}"