[Bug 256629] x11-toolkits/tk87: Add build dependency on archivers/zip

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 15 Jun 2021 20:15:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256629

            Bug ID: 256629
           Summary: x11-toolkits/tk87: Add build dependency on
                    archivers/zip
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: m.ne@gmx.net
                CC: ler@FreeBSD.org, tcltk@FreeBSD.org
                CC: ler@FreeBSD.org, tcltk@FreeBSD.org

Created attachment 225836
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225836&action=edit
Patch adding build dependency on archivers/zip

My build of tk87 failed with a reference to missing zip. A build dependency on
archivers/zip worked for me.

The relevant sections from the build log:

checking whether char is unsigned... no
checking for macher... checking for zip... No zip found on PATH. Building
minizip
checking for building with zipfs... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tkConfig.sh
config.status: creating tk.pc
configure: WARNING: unrecognized options: --enable-threads, --with-tclinclude
===========================================================================
=======================<phase: build          >============================

<<snip>>

cc -c -I/wrkdirs/usr/ports/x11-toolkits/tk87/work/tk8.7a5/unix/../unix
-I/wrkdirs/usr/ports/x11-toolkits/tk87/work/tk8.7a5/unix/../generic
-I/wrkdirs/usr/ports/x11-toolkits/tk87/work/tk8.7a5/unix/../bitmaps 
-I/usr/local/include -O2 -O2 -pipe  -I/usr/local/include/tcl8.7
-I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -pipe 
-finput-charset=UTF-8 -Wall -Wextra -Wshadow -Wundef -Wwrite-strings
-Wpointer-arith -Wc++-compat -fextended-identifiers  -fPIC -DBUILD_tk
-I/usr/local/include/tcl8.7/generic -I/usr/local/include/tcl8.7/unix
-DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.7\"
-DPACKAGE_STRING=\"tk\ 8.7\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
-DTCL_CFGVAL_ENCODING=\"utf-8\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1
-DSTDC_HEADERS=1 -DMODULE_SCOPE=extern\
__attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1
-DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DTCL_SHLIB_EXT=\".so\" -DNDEBUG=1
-DTCL_CFG_OPTIMIZED=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_INTPTR_T=1
-DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1 -DHAVE_XSS=1
-DZIPFS_BUILD=1       -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS
/wrkdirs/usr/ports/x11-toolkits/tk87/work/tk8.7a5/unix/../unix/tkUnixXId.c
make[1]: don't know how to make minizip. Stop

make[1]: stopped in /wrkdirs/usr/ports/x11-toolkits/tk87/work/tk8.7a5/unix
*** Error code 1

Stop.
make: stopped in /usr/ports/x11-toolkits/tk87

-- 
You are receiving this mail because:
You are on the CC list for the bug.