Author: brd
Date: Sat Jul 21 17:13:39 2018
New Revision: 336581
URL: https://svnweb.freebsd.org/changeset/base/336581

Log:
  Revert r336572 and wrap them in machine checks so they are only installed on
  i386.
  
  Approved by:  allanjude (mentor), imp
  Differential Revision:        https://reviews.freebsd.org/D16380

Modified:
  head/ObsoleteFiles.inc
  head/etc/Makefile
  head/etc/rc.d/Makefile

Modified: head/ObsoleteFiles.inc
==============================================================================
--- head/ObsoleteFiles.inc      Sat Jul 21 16:34:38 2018        (r336580)
+++ head/ObsoleteFiles.inc      Sat Jul 21 17:13:39 2018        (r336581)
@@ -38,9 +38,6 @@
 #   xargs -n1 | sort | uniq -d;
 # done
 
-# 20180721: Purge some old forgotten apmd files
-OLD_FILES+=etc/apmd.conf
-OLD_FILES+=etc/rc.d/apmd
 # 20180721: move of libmlx5.so.1 and libibverbs.so.1
 OLD_LIBS+=usr/lib/libmlx5.so.1
 OLD_LIBS+=usr/lib/libibverbs.so.1

Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile   Sat Jul 21 16:34:38 2018        (r336580)
+++ head/etc/Makefile   Sat Jul 21 17:13:39 2018        (r336581)
@@ -76,6 +76,12 @@ BSM_ETC_DIR=                 ${DESTDIR}/etc/security
 BIN1+= amd.map
 .endif
 
+.if ${MACHINE} == "i386"
+.if ${MK_APM} != "no"
+BIN1+= apmd.conf
+.endif
+.endif
+
 .if ${MK_AUTOFS} != "no"
 BIN1+= auto_master
 .endif

Modified: head/etc/rc.d/Makefile
==============================================================================
--- head/etc/rc.d/Makefile      Sat Jul 21 16:34:38 2018        (r336580)
+++ head/etc/rc.d/Makefile      Sat Jul 21 17:13:39 2018        (r336581)
@@ -157,6 +157,9 @@ AMDPACKAGE= amd
 .if ${MK_APM} != "no"
 FILESGROUPS+=  APM
 APM+=          apm
+.if ${MACHINE} == "i386"
+APM+=          apmd
+.endif
 APMPACKAGE=    apm
 .endif
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to