diff options
author | Johan van Selst <johans@FreeBSD.org> | 2011-04-27 17:43:21 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2011-04-27 17:43:21 +0000 |
commit | 3ee36ae41cf7a6cc0c2ca85f5b6172b32d636864 (patch) | |
tree | b43915bbbd01780026c0767b9a93acecade611c2 /devel/ocaml-findlib | |
parent | c1c42fcce0db3dc98810d996c74e8f3c088c7fa7 (diff) | |
download | ports-3ee36ae41cf7a6cc0c2ca85f5b6172b32d636864.tar.gz ports-3ee36ae41cf7a6cc0c2ca85f5b6172b32d636864.zip |
Notes
Diffstat (limited to 'devel/ocaml-findlib')
-rw-r--r-- | devel/ocaml-findlib/Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/devel/ocaml-findlib/Makefile b/devel/ocaml-findlib/Makefile index bd59d82d4e5a..844805d4b07b 100644 --- a/devel/ocaml-findlib/Makefile +++ b/devel/ocaml-findlib/Makefile @@ -48,6 +48,17 @@ post-patch: .include <bsd.port.pre.mk> +.if !exists(${LOCALBASE}/lib/ocaml/labltk) +WITHOUT_TK= yes +.endif + +.if defined(WITHOUT_TK) +PLIST_SUB+= TK="@comment " +.else +CONFIGURE_ARGS+=-with-toolbox +PLIST_SUB+= TK="" +.endif + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @@ -58,15 +69,4 @@ post-install: @${CHMOD} +x ${PREFIX}/lib/ocaml/site-lib/findlib/make_wizard .endif -.if !exists(${LOCALBASE}/lib/ocaml/labltk) -WITHOUT_TK= yes -.endif - -.if defined(WITHOUT_TK) -PLIST_SUB+= TK="@comment " -.else -CONFIGURE_ARGS+=-with-toolbox -PLIST_SUB+= TK="" -.endif - .include <bsd.port.post.mk> |