On Fri, Sep 09, 2011 at 10:05:19AM -0500, Bryan wrote: > brakeb@amd64-laptop /usr/ports/net/openconnect > $ sudo make update clean > ===> Checking files for openconnect-3.10 > `/usr/ports/distfiles/openconnect-3.10.tar.gz' is up to date. > `/usr/ports/distfiles/vpnc-script' is up to date. > >> (SHA256) openconnect-3.10.tar.gz: OK > >> (SHA256) vpnc-script: OK > ===> openconnect-3.10 depends on: gmake-* - found > ===> openconnect-3.10 depends on: libiconv-* - found > ===> openconnect-3.10 depends on: libxml-* - found > ===> Verifying specs: c crypto m ssl z c crypto m ssl z > ===> found c.60.1 crypto.19.0 m.7.0 ssl.16.0 z.4.1 > ===> Extracting for openconnect-3.10 > cp /usr/ports/distfiles/vpnc-script > /usr/ports/pobj/openconnect-3.10/openconnect-3.10/ > ===> Patching for openconnect-3.10 > ===> Configuring for openconnect-3.10 > ===> Building for openconnect-3.10 > gmake: Makefile: No such file or directory > gmake: *** No rule to make target `Makefile'. Stop. > *** Error code 2
It seems a configure script was added, so you need to add CONFIGURE_STYLE=gnu to the Makefile, and check it does its job correctly. Also, you will want to add an #include <netinet/in.h> to mainloop.c and cstp.c.