diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-12-10 01:59:20 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-12-10 01:59:20 +0800 |
commit | e85cc5f7fd5f06f53d33de07ede2d457de737f19 (patch) | |
tree | a51e43c61adf4d12c794611e030770064dbbc1cc /irc/ngircd | |
parent | c562039aaa5b864ecc2d2b96546d4c47f8c7bcf7 (diff) | |
download | freebsd-ports-gnome-e85cc5f7fd5f06f53d33de07ede2d457de737f19.tar.gz freebsd-ports-gnome-e85cc5f7fd5f06f53d33de07ede2d457de737f19.tar.zst freebsd-ports-gnome-e85cc5f7fd5f06f53d33de07ede2d457de737f19.zip |
- fix build with NOPORTDOCS
Reported by: QAT
Diffstat (limited to 'irc/ngircd')
-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 |