summaryrefslogtreecommitdiff
path: root/misc/amanda32-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/amanda32-server
parentReflect divorce of mozilla-embedded and mozilla-headers. (diff)
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
Notes
Notes: svn path=/head/; revision=37876
Diffstat (limited to 'misc/amanda32-server')
-rw-r--r--misc/amanda32-server/Makefile8
-rw-r--r--misc/amanda32-server/pkg-plist1
2 files changed, 9 insertions, 0 deletions
diff --git a/misc/amanda32-server/Makefile b/misc/amanda32-server/Makefile
index 7165eadc9c95..65fe4ddfae86 100644
--- a/misc/amanda32-server/Makefile
+++ b/misc/amanda32-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/amanda32-server/pkg-plist b/misc/amanda32-server/pkg-plist
index f668c9f2d46d..68910673977c 100644
--- a/misc/amanda32-server/pkg-plist
+++ b/misc/amanda32-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