summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-09-25 18:34:45 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-09-25 18:34:45 +0000
commit0e7a1872fe55f0a880a66d5908246a5034f43fb8 (patch)
treea2c71b13c6c67f5c8c8c6b0a4f7003ff450af8e1 /misc
parent- Add option to use sendmail from base/ports (diff)
Add message about COMPAT_FREEBSD4 in kernel
PR: ports/83924 Submitted by: Scot W. Hetzel <swhetzel@gmail.com> Approved by: pav (mentor)
Notes
Notes: svn path=/head/; revision=143536
Diffstat (limited to 'misc')
-rw-r--r--misc/compat4x/Makefile3
-rw-r--r--misc/compat4x/pkg-install20
2 files changed, 23 insertions, 0 deletions
diff --git a/misc/compat4x/Makefile b/misc/compat4x/Makefile
index 62871db2db82..d29fe17aa65b 100644
--- a/misc/compat4x/Makefile
+++ b/misc/compat4x/Makefile
@@ -120,4 +120,7 @@ do-install:
.endif
${INSTALL_SCRIPT} ${WRKDIR}/000.${PORTNAME}.sh ${PREFIX}/etc/rc.d/
+post-install:
+ @${SH} ${PKGINSTALL} ${PORTNAME} POST-INSTALL
+
.include <bsd.port.post.mk>
diff --git a/misc/compat4x/pkg-install b/misc/compat4x/pkg-install
new file mode 100644
index 000000000000..3b23fcfaaffa
--- /dev/null
+++ b/misc/compat4x/pkg-install
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+case $2 in
+ POST-INSTALL)
+ echo ""
+ echo "*******************************************************************************"
+ echo "* *"
+ echo "* Do not forget to add COMPAT_FREEBSD4 into *"
+ echo "* your kernel configuration (enabled by default). *"
+ echo "* *"
+ echo "* To configure and recompile your kernel see: *"
+ echo "* http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html *"
+ echo "* *"
+ echo "*******************************************************************************"
+ echo ""
+ ;;
+esac