devel/tcllibc: fix build on 32-bit platforms, don't build doc or man

This commit is contained in:
Pietro Cerutti 2016-02-10 09:00:17 +00:00
parent e2139dbf67
commit a68439b6c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408619
2 changed files with 3 additions and 13 deletions

View file

@ -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:
#

View file

@ -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 @@