diff options
Diffstat (limited to 'irc')
-rw-r--r-- | irc/ngircd/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/irc/ngircd/Makefile b/irc/ngircd/Makefile index 6bf04d060fb5..bc5e2058447a 100644 --- a/irc/ngircd/Makefile +++ b/irc/ngircd/Makefile @@ -81,8 +81,14 @@ CONFIGURE_ARGS+= --enable-sniffer CONFIGURE_ARGS+= --enable-debug .endif -post-install: +.if defined(NOPORTDOCS) +post-patch: + ${REINPLACE_CMD} -e 's|SUBDIRS = doc src|SUBDIRS = src|' \ + ${WRKSRC}/Makefile.in +.endif + .if !defined(NOPORTDOCS) +post-install: @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif |