From f51c1456ac5c52fdc478503442abfe85fd4387b9 Mon Sep 17 00:00:00 2001 From: "James E. Housley" Date: Thu, 1 Feb 2001 12:59:55 +0000 Subject: Up throught FreeBSD 3.x scsiio.h existed anc cause chg-scsi to be built. After that, SCSI was CAMified and chg-scsi isn't built, but that is a seperate problem. Submitted by: bento --- misc/amanda26-server/Makefile | 8 ++++++++ misc/amanda26-server/pkg-plist | 1 + 2 files changed, 9 insertions(+) (limited to 'misc/amanda26-server') diff --git a/misc/amanda26-server/Makefile b/misc/amanda26-server/Makefile index 7165eadc9c95..65fe4ddfae86 100644 --- a/misc/amanda26-server/Makefile +++ b/misc/amanda26-server/Makefile @@ -84,6 +84,14 @@ CONFIGURE_ARGS+= --with-tape-device=${AMANDA_TAPE} CONFIGURE_ARGS+= --with-config=${AMANDA_CONFIG} .endif +# +# Before 4.0, pre-CAM scsiio.h existed +.if ${OSVERSION} < 400000 +PLIST_SUB+= SCSICHG='@comment ' +.else +PLIST_SUB+= SCSICHG='' +.endif + # amanda24-client part .else diff --git a/misc/amanda26-server/pkg-plist b/misc/amanda26-server/pkg-plist index f668c9f2d46d..68910673977c 100644 --- a/misc/amanda26-server/pkg-plist +++ b/misc/amanda26-server/pkg-plist @@ -14,6 +14,7 @@ libexec/amanda/chg-manual libexec/amanda/chg-mtx libexec/amanda/chg-multi libexec/amanda/chg-rth +%%SCSICHG%%libexec/amanda/chg-scsi libexec/amanda/chg-zd-mtx libexec/amanda/driver libexec/amanda/dumper -- cgit v1.2.3