components/gawk/Makefile
changeset 6861 6110892450ff
parent 5682 94c0ca64c022
child 7176 0e37c7cc2ce5
--- a/components/gawk/Makefile	Thu Sep 08 08:47:55 2016 -0700
+++ b/components/gawk/Makefile	Thu Sep 08 09:15:40 2016 -0700
@@ -31,6 +31,14 @@
 COMPONENT_ARCHIVE_HASH=	\
 	sha256:e3cf55e91e31ea2845f8338bedd91e40671fc30e4d82ea147d220e687abda625
 
+# Adjust references to section 3am to be section 3 in the extensions man pages.
+COMPONENT_POST_CONFIGURE_ACTION = \
+	(cd $(SOURCE_DIR)/extension ; \
+	mlist=`/usr/bin/find . -name '*.3am'` ; \
+	for f in $$mlist ; do \
+		$(GSED) -i -e 's|3am|3|g' $$f ; \
+	done)
+
 # The additional gawk specific set of transforms to be applied to the
 # test results to try to normalize them.
 COMPONENT_TEST_TRANSFORMS += \