aboutsummaryrefslogtreecommitdiffstats
path: root/misc/amanda32-server
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2001-02-01 20:59:55 +0800
committerjeh <jeh@FreeBSD.org>2001-02-01 20:59:55 +0800
commit3ab8abbf44240d093eaa9fc01fd3702fcf3a7657 (patch)
tree80f000a66f47fa50c1ac76b05d48f73cf50d758e /misc/amanda32-server
parentb7efbe31df9ac3baf154492182228fc5119898bd (diff)
downloadfreebsd-ports-graphics-3ab8abbf44240d093eaa9fc01fd3702fcf3a7657.tar.gz
freebsd-ports-graphics-3ab8abbf44240d093eaa9fc01fd3702fcf3a7657.tar.zst
freebsd-ports-graphics-3ab8abbf44240d093eaa9fc01fd3702fcf3a7657.zip
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
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 7165eadc9c9..65fe4ddfae8 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 f668c9f2d46..68910673977 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