From 6d8e3392b77d72f6d05b94fa9c48813ceed5980d Mon Sep 17 00:00:00 2001 From: Antoine Verheijen Date: Wed, 19 Jan 2011 13:13:09 -0700 Subject: [PATCH] OpenBSD: Install no-NFS version of libafs The build process for OpenBSD builds the no-NFS version of the kernel module but, at install time, the NFS version is subseuquently built and installed while the no-NFS version is ignored. The NFS version does not load and is not needed in OpenBSD so this patch makes sure that the no-NFS version is installed and used. Change-Id: I1d07334121911c22aea1f6d157f34e1b40e5b780 Reviewed-on: http://gerrit.openafs.org/3684 Reviewed-by: Andrew Deason Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/libafs/MakefileProto.OBSD.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libafs/MakefileProto.OBSD.in b/src/libafs/MakefileProto.OBSD.in index 9b384db38c..ba9057c634 100644 --- a/src/libafs/MakefileProto.OBSD.in +++ b/src/libafs/MakefileProto.OBSD.in @@ -83,13 +83,13 @@ DEST_LIBAFSNONFS = ${DEST}/root.client/bin/${LIBAFSNONFS} libafs: $(LIBAFSNONFS) ls -l libafs.o -install_libafs: $(LIBAFS) +install_libafs: $(LIBAFSNONFS) ${INSTALL} -d ${DESTDIR}${afskerneldir} - ${INSTALL} -m 644 $(LIBAFS) $(INST_LIBAFSNONFS) + ${INSTALL} -m 644 $(LIBAFSNONFS) $(INST_LIBAFSNONFS) -dest_libafs: $(LIBAFS) +dest_libafs: $(LIBAFSNONFS) ${INSTALL} -d ${DEST}/root.client/bin - $(INSTALL) -m 644 $(LIBAFS) $(DEST_LIBAFSNONFS) + $(INSTALL) -m 644 $(LIBAFSNONFS) $(DEST_LIBAFSNONFS) ${LIBAFS}: $(AFSAOBJS) $(AFSNFSOBJS) $(LD) -r -o ${LIBAFS} ${AFSAOBJS} ${AFSNFSOBJS}