aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/avr-libc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/avr-libc/Makefile b/devel/avr-libc/Makefile
index adfc57acb270..bd74c663632f 100644
--- a/devel/avr-libc/Makefile
+++ b/devel/avr-libc/Makefile
@@ -51,6 +51,11 @@ MAKE_ENV= NO_CPU_CFLAGS=true
CFLAGS= -O
CXXFLAGS= -O
+post-patch:
+.if defined(NOPORTDOCS)
+ ${REINPLACE_CMD} -e '/SUBDIRS/s,examples,,' ${WRKSRC}/doc/Makefile.in
+.endif
+
do-install:
${RM} -f ${TMPPLIST}
.if !defined(NOPORTDOCS)