mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Karl MacMillan wrote:
> > This largish patch makes the build and installation work on 64bit > > machines. The only catch here is that to get a 64bit build you need to > > set LIBDIR on make: > > > > make install LIBDIR=/usr/lib64 > > > > The spec file does this correctly. I couldn't find any reliable way to > > guess this that works both on real systems and in the almost entirely > > empty rpm build root (you can't, for example, check for the existence > > of /usr/lib64).
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
PREFIX ?= $(DESTDIR)/usr
|
||||
SBIN = $(PREFIX)/sbin
|
||||
INITDIR = $(DESTDIR)/etc/rc.d/init.d
|
||||
include ../Makefile.common
|
||||
|
||||
LDFLAGS +=-lkrb5 -llber -lldap
|
||||
CFLAGS ?= -g -Wall -Wshadow
|
||||
|
||||
OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
|
||||
|
||||
@@ -14,8 +11,9 @@ all: $(OBJS)
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
install:
|
||||
-mkdir -p $(SBIN)
|
||||
install -m 755 ipa_kpasswd $(SBIN)
|
||||
echo $(SBINDIR)
|
||||
-mkdir -p $(SBINDIR)
|
||||
install -m 755 ipa_kpasswd $(SBINDIR)
|
||||
-mkdir -p $(INITDIR)
|
||||
install -m 755 ipa-kpasswd.init $(INITDIR)/ipa-kpasswd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user