View | Details | Raw Unified | Return to bug 156657
Collapse All | Expand All

(-)devel/ocaml-findlib/Makefile (-11 / +11 lines)
Lines 48-53 Link Here
48
48
49
.include <bsd.port.pre.mk>
49
.include <bsd.port.pre.mk>
50
50
51
.if !exists(${LOCALBASE}/lib/ocaml/labltk)
52
WITHOUT_TK=     yes
53
.endif
54
55
.if defined(WITHOUT_TK)
56
PLIST_SUB+=     TK="@comment "
57
.else
58
CONFIGURE_ARGS+=-with-toolbox
59
PLIST_SUB+=     TK=""
60
.endif
61
51
post-install:
62
post-install:
52
.if !defined(NOPORTDOCS)
63
.if !defined(NOPORTDOCS)
53
	@${MKDIR} ${DOCSDIR}
64
	@${MKDIR} ${DOCSDIR}
Lines 58-72 Link Here
58
	@${CHMOD} +x ${PREFIX}/lib/ocaml/site-lib/findlib/make_wizard
69
	@${CHMOD} +x ${PREFIX}/lib/ocaml/site-lib/findlib/make_wizard
59
.endif
70
.endif
60
71
61
.if !exists(${LOCALBASE}/lib/ocaml/labltk)
62
WITHOUT_TK=	yes
63
.endif
64
65
.if defined(WITHOUT_TK)
66
PLIST_SUB+=	TK="@comment "
67
.else
68
CONFIGURE_ARGS+=-with-toolbox
69
PLIST_SUB+=	TK=""
70
.endif
71
72
.include <bsd.port.post.mk>
72
.include <bsd.port.post.mk>

Return to bug 156657