aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/cduce/Makefile2
-rw-r--r--lang/clay/Makefile2
-rw-r--r--lang/moscow_ml/Makefile2
-rw-r--r--lang/oo2c/Makefile2
-rw-r--r--lang/slib/Makefile2
5 files changed, 8 insertions, 2 deletions
diff --git a/lang/cduce/Makefile b/lang/cduce/Makefile
index c84586872e3e..5fcb8996f84c 100644
--- a/lang/cduce/Makefile
+++ b/lang/cduce/Makefile
@@ -20,7 +20,7 @@ USE_OCAML= true
USE_OCAML_FINDLIB= true
USE_OCAML_LDCONFIG= true
-OPTIONS_DEFINE= OCURL MLIFACE
+OPTIONS_DEFINE= OCURL MLIFACE DOCS
OPTIONS_DEFAULT= MLIFACE PXP
OPTIONS_SINGLE= XML
OPTIONS_SINGLE_XML= EXPAT PXP
diff --git a/lang/clay/Makefile b/lang/clay/Makefile
index 845461f28d09..cdada4c90f5a 100644
--- a/lang/clay/Makefile
+++ b/lang/clay/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS= llvm-config32:${PORTSDIR}/devel/llvm32 \
clang32:${PORTSDIR}/lang/clang32
RUN_DEPENDS= clang32:${PORTSDIR}/lang/clang32
-OPTIONS_DEFINE= BINDGEN
+OPTIONS_DEFINE= BINDGEN DOCS
BINDGEN_DESC= Build with binding generator (broken on 10.0+)
GITVERSION= 751ebe3
diff --git a/lang/moscow_ml/Makefile b/lang/moscow_ml/Makefile
index 803caf617c34..271bf2d93091 100644
--- a/lang/moscow_ml/Makefile
+++ b/lang/moscow_ml/Makefile
@@ -26,6 +26,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
SUB_FILES= pkg-message
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch: .SILENT
${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
${REINPLACE_CMD} -e "s,-O2,${CFLAGS} -I${LOCALBASE}/include,"
diff --git a/lang/oo2c/Makefile b/lang/oo2c/Makefile
index fb4f315d6d6a..09058acd8044 100644
--- a/lang/oo2c/Makefile
+++ b/lang/oo2c/Makefile
@@ -25,6 +25,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
ONLY_FOR_ARCHS= i386 amd64 ia64
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} 's/dir=@/dir=$${DESTDIR}@/' \
${WRKSRC}/Makefile.config.in
diff --git a/lang/slib/Makefile b/lang/slib/Makefile
index f58331ae0465..fc199f904165 100644
--- a/lang/slib/Makefile
+++ b/lang/slib/Makefile
@@ -15,6 +15,8 @@ USES= gmake makeinfo
ALL_TARGET= slib.info
INFO= slib
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/lib/slib|${PREFIX}/share/slib|' ${WRKSRC}/guile.init