diff options
Diffstat (limited to 'misc/amanda25-server')
-rw-r--r-- | misc/amanda25-server/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/amanda25-server/Makefile b/misc/amanda25-server/Makefile index 9e11d226cc97..834141e1e2b7 100644 --- a/misc/amanda25-server/Makefile +++ b/misc/amanda25-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 ' |