aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2016-02-10 17:00:17 +0800
committergahr <gahr@FreeBSD.org>2016-02-10 17:00:17 +0800
commit00f6970805805f4b57bff5f4ed776baf2d2102d6 (patch)
tree4f46d812950f5945ee318f78a7d5b7fa3521926f /devel
parent20193e5fe3e15fe5f02a7432b8121eb12edb43e4 (diff)
downloadfreebsd-ports-gnome-00f6970805805f4b57bff5f4ed776baf2d2102d6.tar.gz
freebsd-ports-gnome-00f6970805805f4b57bff5f4ed776baf2d2102d6.tar.zst
freebsd-ports-gnome-00f6970805805f4b57bff5f4ed776baf2d2102d6.zip
devel/tcllibc: fix build on 32-bit platforms, don't build doc or man
Diffstat (limited to 'devel')
-rw-r--r--devel/tcllib/Makefile9
-rw-r--r--devel/tcllib/files/patch-warnings7
2 files changed, 3 insertions, 13 deletions
diff --git a/devel/tcllib/Makefile b/devel/tcllib/Makefile
index 4498ea765488..208da9ded07b 100644
--- a/devel/tcllib/Makefile
+++ b/devel/tcllib/Makefile
@@ -4,6 +4,7 @@
PORTNAME= tcllib
DISTVERSIONPREFIX= ${PORTNAME}_
DISTVERSION= 1_18
+PORTREVISION= 1
CATEGORIES= devel tcl
MAINTAINER= tcltk@FreeBSD.org
@@ -36,9 +37,7 @@ INSTALL_ARGS= -pkgs -pkg-path ${STAGEDIR}${PREFIX}/lib/tcllib \
#
# Man pages
#
-.if !(defined(ALL_TARGET) && !empty(${ALL_TARGET:Mcritcl}))
-
-.if ${PORT_OPTIONS:MMANPAGES}
+.if ${PORT_OPTIONS:MMANPAGES} && !(defined(ALL_TARGET) && !empty(${ALL_TARGET:Mcritcl}))
ALL_TARGET+= nroff-doc
INSTALL_ARGS+= -nroff-path ${STAGEDIR}${PREFIX}/man/mann
.else
@@ -48,15 +47,13 @@ INSTALL_ARGS+= -no-nroff
#
# HTML documentation
#
-.if ${PORT_OPTIONS:MDOCS}
+.if ${PORT_OPTIONS:MDOCS} && !(defined(ALL_TARGET) && !empty(${ALL_TARGET:Mcritcl}))
ALL_TARGET+= html-doc
INSTALL_ARGS+= -html-path ${STAGEDIR}${DOCSDIR}
.else
INSTALL_ARGS+= -no-html
.endif
-.endif # ${ALL_TARGET} != "crictl"
-
.if !target(post-patch)
post-patch:
#
diff --git a/devel/tcllib/files/patch-warnings b/devel/tcllib/files/patch-warnings
index a09972053f20..3034fa98f5f0 100644
--- a/devel/tcllib/files/patch-warnings
+++ b/devel/tcllib/files/patch-warnings
@@ -192,13 +192,6 @@
+#include <stdint.h> /* intptr_t */
/*
-@@ -55,5 +55,5 @@ SCOPE Tcl_Obj* rde_param_query
- SCOPE void rde_param_query_es (RDE_PARAM p, long int* ec, ERROR_STATE*** ev);
- SCOPE void rde_param_query_ls (RDE_PARAM p, long int* lc, void*** lv);
--SCOPE long int rde_param_query_lstop (RDE_PARAM p);
-+SCOPE intptr_t rde_param_query_lstop (RDE_PARAM p);
- SCOPE Tcl_HashTable* rde_param_query_nc (RDE_PARAM p);
- SCOPE int rde_param_query_st (RDE_PARAM p);
--- modules/pt/rde_critcl/param.c 2015-04-30 04:21:20 UTC
+++ modules/pt/rde_critcl/param.c 2015-05-27 18:11:57
@@ -4,9 +4,11 @@