aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/amanda-server/Makefile4
-rw-r--r--misc/amanda25-server/Makefile4
-rw-r--r--misc/amanda26-server/Makefile4
-rw-r--r--misc/amanda32-server/Makefile4
4 files changed, 16 insertions, 0 deletions
diff --git a/misc/amanda-server/Makefile b/misc/amanda-server/Makefile
index 76f3ee885019..cb0eb76f2e57 100644
--- a/misc/amanda-server/Makefile
+++ b/misc/amanda-server/Makefile
@@ -29,6 +29,10 @@ PATCH_STRIP=
.include <bsd.port.pre.mk>
+.if exists(/usr/include/sys/scsiio.h)
+.error You have the file /usr/include/sys/scsiio.h on your system. This was removed after FreeBSD 3.5 and will break the build of this port. Please remove it.
+.endif
+
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
# amanda-server part
diff --git a/misc/amanda25-server/Makefile b/misc/amanda25-server/Makefile
index 76f3ee885019..cb0eb76f2e57 100644
--- a/misc/amanda25-server/Makefile
+++ b/misc/amanda25-server/Makefile
@@ -29,6 +29,10 @@ PATCH_STRIP=
.include <bsd.port.pre.mk>
+.if exists(/usr/include/sys/scsiio.h)
+.error You have the file /usr/include/sys/scsiio.h on your system. This was removed after FreeBSD 3.5 and will break the build of this port. Please remove it.
+.endif
+
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
# amanda-server part
diff --git a/misc/amanda26-server/Makefile b/misc/amanda26-server/Makefile
index 76f3ee885019..cb0eb76f2e57 100644
--- a/misc/amanda26-server/Makefile
+++ b/misc/amanda26-server/Makefile
@@ -29,6 +29,10 @@ PATCH_STRIP=
.include <bsd.port.pre.mk>
+.if exists(/usr/include/sys/scsiio.h)
+.error You have the file /usr/include/sys/scsiio.h on your system. This was removed after FreeBSD 3.5 and will break the build of this port. Please remove it.
+.endif
+
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
# amanda-server part
diff --git a/misc/amanda32-server/Makefile b/misc/amanda32-server/Makefile
index 76f3ee885019..cb0eb76f2e57 100644
--- a/misc/amanda32-server/Makefile
+++ b/misc/amanda32-server/Makefile
@@ -29,6 +29,10 @@ PATCH_STRIP=
.include <bsd.port.pre.mk>
+.if exists(/usr/include/sys/scsiio.h)
+.error You have the file /usr/include/sys/scsiio.h on your system. This was removed after FreeBSD 3.5 and will break the build of this port. Please remove it.
+.endif
+
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
# amanda-server part