When net/asterisk is installed, net/opal does not build because it detects the presence of include/libpri.h installed by net/asterisk, but the build fails: ===> Vulnerability check disabled, database not found ===> Extracting for opal-2.2.1_1 => MD5 Checksum OK for opal-v2_2_1-src-tar.gz. => SHA256 Checksum OK for opal-v2_2_1-src-tar.gz. ===> Patching for opal-2.2.1_1 ===> Applying FreeBSD patches for opal-2.2.1_1 ===> opal-2.2.1_1 depends on executable: gmake - found ===> opal-2.2.1_1 depends on file: /usr/local/bin/autoconf259 - found ===> opal-2.2.1_1 depends on shared library: pt_r.1 - found ===> Configuring for opal-2.2.1_1 configure: WARNING: you should use --build, --host, --target checking for i386-portbld-freebsd5.4-gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes ... checking for /usr/local/include/sys/telephony.h... no checking /usr/local/include/libpri.h usability... yes checking /usr/local/include/libpri.h presence... no configure: WARNING: /usr/local/include/libpri.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: /usr/local/include/libpri.h: proceeding with the compiler's result checking for /usr/local/include/libpri.h... yes checking /usr/local/include/libsangoma.h usability... no checking /usr/local/include/libsangoma.h presence... no checking for /usr/local/include/libsangoma.h... no checking for pri_new_cb in -lpri... yes checking for sangoma_create_socket in -lsangoma... no checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel configure: creating ./config.status config.status: creating opal_inc.mak config.status: creating Makefile config.status: creating src/codec/speex/libspeex/speex_config_types.h config.status: creating include/opal/buildopts.h ===> Building for opal-2.2.1_1 gmake P_SHAREDLIB=1 opt gmake[1]: Entering directory `/arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1' g++ -O1 -I/usr/ports/devel/pwlib/work/pwlib_v1_10_0/include -I/usr/local/include -DP_USE_PRAGMA -D_REENTRANT -pthread -Wall -DPTRACING -I/arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/include -DPTRACING -I/usr/local/share/pwlib//include -Os -O -pipe -march=athlon-xp -O1 -I/usr/ports/devel/pwlib/work/pwlib_v1_10_0/include -I/usr/local/include -felide-constructors -Wreorder -c /arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/src/opal/manager.cxx -o /arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/lib/obj_r/manager.o ... g++ -O1 -I/usr/ports/devel/pwlib/work/pwlib_v1_10_0/include -I/usr/local/include -DP_USE_PRAGMA -D_REENTRANT -pthread -Wall -DPTRACING -I/arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/include -DPTRACING -I/usr/local/share/pwlib//include -Os -O -pipe -march=athlon-xp -O1 -I/usr/ports/devel/pwlib/work/pwlib_v1_10_0/include -I/usr/local/include -felide-constructors -Wreorder -c /arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/src/lids/lidep.cxx -o /arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/lib/obj_r/lidep.o g++ -O1 -I/usr/ports/devel/pwlib/work/pwlib_v1_10_0/include -I/usr/local/include -DP_USE_PRAGMA -D_REENTRANT -pthread -Wall -DPTRACING -I/arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/include -DPTRACING -I/usr/local/share/pwlib//include -Os -O -pipe -march=athlon-xp -O1 -I/usr/ports/devel/pwlib/work/pwlib_v1_10_0/include -I/usr/local/include -felide-constructors -Wreorder -c /arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/src/lids/sangomalid.cxx -o /arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/lib/obj_r/sangomalid.o /arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/src/lids/sangomalid.cxx:35:43: /usr/local/include/libsangoma.h: No such file or directory gmake[1]: *** [/arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/lib/obj_r/sangomalid.o] Error 1 gmake[1]: Leaving directory `/arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1' gmake: *** [optshared] Error 2 *** Error code 2 Stop in /arc/src/ports/net/opal. To fix this problem, please add the port patch below submitted by Matt Horan <matt@matthoran.com>. Thanks in advance! Fix: Binary files /usr/ports/net/opal/.Makefile.swp and ./.Makefile.swp differ How-To-Repeat: Install net/asterisk (which in turn installs misc/libpri), then net/opal.
State Changed From-To: open->closed Committed. Thanks!