]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
FreeBSD version compatibility for 1.6.x
authorBen Kaduk <kaduk@mit.edu>
Tue, 19 Feb 2013 20:24:04 +0000 (15:24 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Fri, 22 Mar 2013 18:43:12 +0000 (11:43 -0700)
This is a direct commit, not a cherry-pick, as the libafs build is
different for master and the 1.6 branch.

Instead of needing to always play catch-up, reverse the sense of the
conditional and specifically exclude the FreeBSD 5.x and 6.x versions
so that new versions will automatically be in the right conditional.

Change-Id: Ifa1d4004faab8a7d6a94ca8d5aeff90e4c51b88e
Reviewed-on: http://gerrit.openafs.org/9143
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/libafs/MakefileProto.FBSD.in
src/libuafs/MakefileProto.FBSD.in

index 0e682af7aa2f63650ddb57e6ceb08ed75d52b512..efc5f9b1592148012f5a2e0f144f479bf3029ef4 100644 (file)
@@ -71,12 +71,14 @@ setup:
        ln -fs ../Makefile.common $(KOBJ)/Makefile.common
        -$(RM) -f  h net netinet rpc ufs nfs  machine sys vm
        -ln -fs ${KSRC}/net net
-       -ln -fs ${KSRC}/@HOST_CPU@/include machine
+<amd64 i386>
+       -ln -fs ${KSRC}/x86/include machine
+<all>
        -ln -fs ${KSRC}/netinet netinet
        -ln -fs ${KSRC}/nfs nfs
-<all -fbsd_71 -fbsd_72 -fbsd_72 -fbsd_73 -fbsd_74 -fbsd_80 -fbsd_81 -fbsd_82 -fbsd_90>
+<fbsd_50 fbsd_51 fbsd_52 fbsd_53 fbsd_60 fbsd_61 fbsd_62 fbsd_70>
        -ln -fs /usr/include/rpc rpc
-<fbsd_71 fbsd_72 fbsd_73 fbsd_74 fbsd_80 fbsd_81 fbsd_82 fbsd_90>
+<all -fbsd_50 -fbsd_51 -fbsd_52 -fbsd_53 -fbsd_60 -fbsd_61 -fbsd_62 -fbsd_70>
        -ln -fs ${KSRC}/rpc rpc
 <all>
        -ln -fs ${KSRC}/sys sys
index ab533d1c0cb47f64adab1296b33fb73122085451..642fe6a094ab5632153fdc061ce2d531bf0b0ac6 100644 (file)
@@ -23,9 +23,9 @@ OPTF=-O
 
 TEST_CFLAGS=-D_REENTRANT -DAFS_PTHREAD_ENV -DAFS_FBSD50_ENV $(XCFLAGS)
 TEST_LDFLAGS=
-<all -fbsd_62 -fbsd_70 -fbsd_71 -fbsd_72 -fbsd_73 -fbsd_74 -fbsd_80 -fbsd_81 -fbsd_90>
+<fbsd_50 fbsd_51 fbsd_52 fbsd_53 fbsd_60 fbsd_61>
 TEST_LIBS=-lc_r
-<fbsd_62 fbsd_70 fbsd_71 fbsd_72 fbsd_73 fbsd_74 fbsd_80 fbsd_81 fbsd_82 fbsd_90>
+<all -fbsd_50 -fbsd_51 -fbsd_52 -fbsd_53 -fbsd_60 -fbsd_61>
 TEST_LIBS=-lpthread
 <all>