On Sat, 29 Dec 2018 12:55:02 +0100, Rafael Sadowski wrote: > On Fri Dec 28, 2018 at 12:11:28PM +0100, Pascal Stumpf wrote: > > Libupnpp is a C++ wrapper for libupnp, a.k.a Portable UPnP, which > > is a direct descendant of the Open Source SDK released by Intel in > > support of UPnP development. > > > > Libupnpp can be used to implement UPnP devices and services, or > > Control Points. > > > > The Control Point side of libupnpp, which is documented here, allows > > a C++ program to discover UPnP devices, and exchange commands and > > status with them. > > > > The library has a number of predefined modules for controlling > > specific AVTransport or OpenHome audio services, and it is relatively > > easy to add modules for other services externally (the internal > > modules have no more access to library internals than an external > > module would). > > > > > > OK? > > Build and package fine with clang on amd64. > > "CXX=g++ make" configure fine but fails at compile step (Of course, > it's c++11) but there is no COMPILER var in Makefile. > > $ CXX=eg++ make > checking whether eg++ accepts -g... (cached) yes > checking dependency style of eg++... none > checking how to run the C++ preprocessor... /lib/cpp > configure: error: in `/usr/ports/pobj/libupnpp-0.16.1/libupnpp-0.16.1': > configure: error: C++ preprocessor "/lib/cpp" fails sanity check > See `config.log' for more details
Works fine if you set both CXX=eg++ and CC=egcc. Updated tarball with COMPILER = base-clang ports-gcc ...
libupnpp.tgz
Description: libupnpp.tgz