diff --git a/lib/Makefile b/lib/Makefile index 345b2ed31c0f..f57d5d42ff01 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -119,6 +119,10 @@ _libvgl= libvgl _libsmb= libsmb .endif +.if ${MACHINE_ARCH} == "sparc64" +_libsmb= libsmb +.endif + .if ${MK_OPENSSL} != "no" _libmp= libmp .endif diff --git a/usr.bin/Makefile b/usr.bin/Makefile index 6d30029c5a01..743aeab5ba49 100644 --- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -390,4 +390,8 @@ _smbutil= smbutil _smbutil= smbutil .endif +.if ${MACHINE_ARCH} == "sparc64" +_smbutil= smbutil +.endif + .include diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile index 6f7df81e79de..cdcaaf3cc6b9 100644 --- a/usr.sbin/Makefile +++ b/usr.sbin/Makefile @@ -512,6 +512,7 @@ _ofwdump= ofwdump .if ${MACHINE_ARCH} == "sparc64" _eeprom= eeprom +_mount_smbfs= mount_smbfs _ofwdump= ofwdump .endif