diff -Nru nodejs-8.11.2~dfsg/debian/control nodejs-8.11.2~dfsg/debian/control
--- nodejs-8.11.2~dfsg/debian/control	2018-05-16 06:27:11.000000000 +0800
+++ nodejs-8.11.2~dfsg/debian/control	2018-05-18 01:31:13.000000000 +0800
@@ -32,7 +32,7 @@
 
 Package: nodejs-dev
 Section: devel
-Architecture: amd64 arm64 armhf i386 kfreebsd-i386 kfreebsd-amd64 mips mips64el mipsel ppc64 ppc64el s390x
+Architecture: amd64 arm64 armhf i386 kfreebsd-i386 kfreebsd-amd64 mips mips64el mips64r6el mipsel ppc64 ppc64el s390x
 Depends: ${cdbs:Depends},
  ${misc:Depends},
  nodejs (= ${binary:Version})
@@ -47,7 +47,7 @@
  This package is needed to build plugins.
 
 Package: nodejs
-Architecture: amd64 arm64 armhf i386 kfreebsd-i386 kfreebsd-amd64 mips mips64el mipsel ppc64 ppc64el s390x
+Architecture: amd64 arm64 armhf i386 kfreebsd-i386 kfreebsd-amd64 mips mips64el mips64r6el mipsel ppc64 ppc64el s390x
 Depends: ${shlibs:Depends},
  ${misc:Depends}
 Provides: ${cdbs:Provides}
diff -Nru nodejs-8.11.2~dfsg/debian/control.in nodejs-8.11.2~dfsg/debian/control.in
--- nodejs-8.11.2~dfsg/debian/control.in	2018-05-16 06:27:11.000000000 +0800
+++ nodejs-8.11.2~dfsg/debian/control.in	2018-05-18 01:31:13.000000000 +0800
@@ -14,7 +14,7 @@
 
 Package: nodejs-dev
 Section: devel
-Architecture: amd64 arm64 armhf i386 kfreebsd-i386 kfreebsd-amd64 mips mips64el mipsel ppc64 ppc64el s390x
+Architecture: amd64 arm64 armhf i386 kfreebsd-i386 kfreebsd-amd64 mips mips64el mips64r6el mipsel ppc64 ppc64el s390x
 Depends: ${cdbs:Depends},
  ${misc:Depends},
  nodejs (= ${binary:Version})
@@ -29,7 +29,7 @@
  This package is needed to build plugins.
 
 Package: nodejs
-Architecture: amd64 arm64 armhf i386 kfreebsd-i386 kfreebsd-amd64 mips mips64el mipsel ppc64 ppc64el s390x
+Architecture: amd64 arm64 armhf i386 kfreebsd-i386 kfreebsd-amd64 mips mips64el mips64r6el mipsel ppc64 ppc64el s390x
 Depends: ${shlibs:Depends},
  ${misc:Depends}
 Provides: ${cdbs:Provides}
diff -Nru nodejs-8.11.2~dfsg/debian/rules nodejs-8.11.2~dfsg/debian/rules
--- nodejs-8.11.2~dfsg/debian/rules	2018-05-16 06:27:11.000000000 +0800
+++ nodejs-8.11.2~dfsg/debian/rules	2018-05-18 01:31:13.000000000 +0800
@@ -71,6 +71,7 @@
 destCpu := $(or $(destCpu),$(if $(filter aarch64,$(DEB_HOST_ARCH)),arm64))
 destCpu := $(or $(destCpu),$(if $(filter mipsel,$(DEB_HOST_ARCH)),mipsel))
 destCpu := $(or $(destCpu),$(if $(filter mips64el,$(DEB_HOST_ARCH)),mips64el))
+destCpu := $(or $(destCpu),$(if $(filter mips64r6el,$(DEB_HOST_ARCH)),mips64el))
 destCpu := $(or $(destCpu),$(if $(filter mips,$(DEB_HOST_ARCH)),mips))
 destCpu := $(or $(destCpu),$(if $(filter powerpc,$(DEB_HOST_ARCH)),unsupported))
 destCpu := $(or $(destCpu),$(if $(filter ppc64,$(DEB_HOST_ARCH)),ppc64))
@@ -111,6 +112,9 @@
 ifeq (mips64el, $(DEB_HOST_ARCH))
 DEB_CONFIGURE_EXTRA_FLAGS += --with-mips-arch-variant=rx --with-mips-fpu-mode=fp64
 endif
+ifeq (mips64r6el, $(DEB_HOST_ARCH))
+DEB_CONFIGURE_EXTRA_FLAGS += --with-mips-arch-variant=rx --with-mips-fpu-mode=fp64
+endif
 
 ifeq (armel, $(DEB_HOST_ARCH))
 DEB_CONFIGURE_EXTRA_FLAGS += --with-arm-float-abi=softfp
