Bug 77560 - [PATCH] devel/ocaml-extlib: problem with NOPORTDOCS=yes
Summary: [PATCH] devel/ocaml-extlib: problem with NOPORTDOCS=yes
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-15 15:30 UTC by Jun Mukai
Modified: 2005-02-15 21:52 UTC (History)
0 users

See Also:


Attachments
file.diff (248 bytes, patch)
2005-02-15 15:30 UTC, Jun Mukai
no flags Details | Diff
file.diff (360 bytes, patch)
2005-02-15 15:30 UTC, Jun Mukai
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jun Mukai 2005-02-15 15:30:31 UTC
Ocaml-extlib has problem when building with NOPORTDOCS=yes.
This is based on the lack of PLIST_SUB in Makefile.

Fix: USE_GMAKE=     yes
-ALL_TARGET=    all opt doc
+ALL_TARGET=    all opt
+.if !defined(NOPORTDOCS)
+ALL_TARGET+=   doc
+PLIST_SUB+=    PORTDOCS=""
+.else
+PLIST_SUB+=    PORTDOCS="@comment "
+.endif
 DOCSDIR=       ${PREFIX}/share/doc/ocaml/${PORTNAME}

 post-install:
How-To-Repeat:  cd /usr/ports/devel/ocaml-extlib
make NOPORTDOCS=yes install
make deinstall
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2005-02-15 21:52:31 UTC
State Changed
From-To: open->closed

Committed, thanks!