summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/amanda-server/Makefile8
-rw-r--r--misc/amanda-server/pkg-plist1
-rw-r--r--misc/amanda24-server/Makefile8
-rw-r--r--misc/amanda24-server/pkg-plist1
-rw-r--r--misc/amanda25-server/Makefile8
-rw-r--r--misc/amanda25-server/pkg-plist1
-rw-r--r--misc/amanda26-server/Makefile8
-rw-r--r--misc/amanda26-server/pkg-plist1
-rw-r--r--misc/amanda32-server/Makefile8
-rw-r--r--misc/amanda32-server/pkg-plist1
10 files changed, 45 insertions, 0 deletions
diff --git a/misc/amanda-server/Makefile b/misc/amanda-server/Makefile
index 7165eadc9c95..65fe4ddfae86 100644
--- a/misc/amanda-server/Makefile
+++ b/misc/amanda-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/amanda-server/pkg-plist b/misc/amanda-server/pkg-plist
index f668c9f2d46d..68910673977c 100644
--- a/misc/amanda-server/pkg-plist
+++ b/misc/amanda-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
diff --git a/misc/amanda24-server/Makefile b/misc/amanda24-server/Makefile
index 7165eadc9c95..65fe4ddfae86 100644
--- a/misc/amanda24-server/Makefile
+++ b/misc/amanda24-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/amanda24-server/pkg-plist b/misc/amanda24-server/pkg-plist
index f668c9f2d46d..68910673977c 100644
--- a/misc/amanda24-server/pkg-plist
+++ b/misc/amanda24-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
diff --git a/misc/amanda25-server/Makefile b/misc/amanda25-server/Makefile
index 7165eadc9c95..65fe4ddfae86 100644
--- a/misc/amanda25-server/Makefile
+++ b/misc/amanda25-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/amanda25-server/pkg-plist b/misc/amanda25-server/pkg-plist
index f668c9f2d46d..68910673977c 100644
--- a/misc/amanda25-server/pkg-plist
+++ b/misc/amanda25-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
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
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