]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
OpenBSD: Install no-NFS version of libafs
authorAntoine Verheijen <antoine@ualberta.ca>
Wed, 19 Jan 2011 20:13:09 +0000 (13:13 -0700)
committerDerrick Brashear <shadow@dementia.org>
Sat, 22 Jan 2011 21:01:02 +0000 (13:01 -0800)
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.

Reviewed-on: http://gerrit.openafs.org/3684
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 6d8e3392b77d72f6d05b94fa9c48813ceed5980d)

Change-Id: I7f37c2da40f2ecada7255c1d60e8b14a1f7e6f81
Reviewed-on: http://gerrit.openafs.org/3723
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/libafs/MakefileProto.OBSD.in

index 9b384db38c761a93c16f7c0895d55ca52c50c123..ba9057c6349a7ecb3a4ef18aa77a4910b57bb6ee 100644 (file)
@@ -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}