pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/44945: mail/alpine: tcl.h not found
>Number: 44945
>Category: pkg
>Synopsis: mail/alpine: tcl.h not found
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 09 10:45:00 +0000 2011
>Originator: Matthias Rampke
>Release: DragonFly 2.10
>Organization:
>Environment:
DragonFly tp.2pktfkt.net 2.10-RELEASE DragonFly v2.10.1.6.g25419-RELEASE #0:
Mon May 2 02:26:36 CEST 2011
matthias%tp.2pktfkt.net@localhost:/usr/obj/usr/src/sys/GENERIC i386
>Description:
building alpine-2.0.0 fails with "wpcomm.c:19:17: error: tcl.h: No such file or
directory" in $WORKDIR/web/src/alpined.d
>How-To-Repeat:
cd /usr/pkgsrc/mail/alpine && bmake
>Fix:
The following patch optionifies tcl usage (default off).
diff --git a/mail/alpine/options.mk b/mail/alpine/options.mk
index dd3fb62..a51c470 100644
--- a/mail/alpine/options.mk
+++ b/mail/alpine/options.mk
@@ -2,7 +2,7 @@
#
PKG_OPTIONS_VAR= PKG_OPTIONS.alpine
-PKG_SUPPORTED_OPTIONS= fancythreads ldap maildir pinepwd alpinesearchheader
+PKG_SUPPORTED_OPTIONS= fancythreads ldap maildir pinepwd alpinesearchheader tcl
PKG_SUGGESTED_OPTIONS= pinepwd
.include "../../mk/bsd.options.mk"
@@ -39,3 +39,9 @@
PATCH_SITES+=http://staff.washington.edu/chappa/alpine/patches/${DISTNAME}/
PATCHFILES+= searchheader.patch.gz
PATCH_DIST_STRIP= -p1
.endif
+
+.if !empty(PKG_OPTIONS:Mtcl)
+.include "../../lang/tcl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-tcl
+.endif
Home |
Main Index |
Thread Index |
Old Index