aboutsummaryrefslogtreecommitdiffstats
path: root/misc/amanda-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/amanda-server/Makefile')
-rw-r--r--misc/amanda-server/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/amanda-server/Makefile b/misc/amanda-server/Makefile
index 9e11d226cc97..834141e1e2b7 100644
--- a/misc/amanda-server/Makefile
+++ b/misc/amanda-server/Makefile
@@ -32,7 +32,7 @@ PATCH_STRIP=
.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=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
AMANDA_USER?= operator
AMANDA_GROUP?= operator
@@ -131,7 +131,7 @@ CONFIGURE_ARGS+= --with-portrange=${AMANDA_PORTRANGE}
.if ${OSVERSION} < 400000
PLIST_SUB+= SCSICHG=''
.elif ${OSVERSION} >= 480000
-.if ${ARCH} == "amd64"
+.if ${MACHINE_ARCH} == "amd64"
PLIST_SUB+= SCSICHG='@comment '
.elif ${OSVERSION} >= 502000
PLIST_SUB+= SCSICHG='@comment '