aboutsummaryrefslogtreecommitdiff
path: root/misc/amanda26-server
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2001-02-01 12:59:55 +0000
committerJames E. Housley <jeh@FreeBSD.org>2001-02-01 12:59:55 +0000
commitf51c1456ac5c52fdc478503442abfe85fd4387b9 (patch)
treeb33d480c35b39e6315b5144f3ef0cf0de11d8c15 /misc/amanda26-server
parent6add111dabfe4b36dd600bd6e51a9790b1ef1167 (diff)
downloadports-f51c1456ac5c52fdc478503442abfe85fd4387b9.tar.gz
ports-f51c1456ac5c52fdc478503442abfe85fd4387b9.zip
Notes
Diffstat (limited to 'misc/amanda26-server')
-rw-r--r--misc/amanda26-server/Makefile8
-rw-r--r--misc/amanda26-server/pkg-plist1
2 files changed, 9 insertions, 0 deletions
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