diff options
author | Roland McGrath <roland@gnu.org> | 1996-07-02 21:57:31 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-07-02 21:57:31 +0000 |
commit | 66da789f8dfa5e42ff4aa5d1ca4dab93ed0beb4f (patch) | |
tree | 5f258e16fba807e9ca092841e648051cec13340b /rpm/template | |
parent | f49bc43fc0a6879424777f95eff12cb688afe89e (diff) | |
download | glibc-66da789f8dfa5e42ff4aa5d1ca4dab93ed0beb4f.tar.gz glibc-66da789f8dfa5e42ff4aa5d1ca4dab93ed0beb4f.tar.xz glibc-66da789f8dfa5e42ff4aa5d1ca4dab93ed0beb4f.zip |
* rpm/template (%build): Use @prefix@ instead of always /usr.
Set up configparms only if @prefix@ is in fact /usr. * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
Diffstat (limited to 'rpm/template')
-rw-r--r-- | rpm/template | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rpm/template b/rpm/template index f4c2e9f7d7..7b03ed5ab2 100644 --- a/rpm/template +++ b/rpm/template @@ -10,11 +10,13 @@ Source: glibc-@VERSION@.tar.gz %setup %build -configure --prefix=/usr -cat >configparms <<EOF +configure --prefix=@prefix@ +if test x@prefix@ = /usr; then + cat >configparms <<EOF slibdir=/lib sysconfdir=/etc EOF +fi make %install |