summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/b2bua/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/b2bua/Makefile b/net/b2bua/Makefile
index 82ab8ca..15baa0f 100644
--- a/net/b2bua/Makefile
+++ b/net/b2bua/Makefile
@@ -31,6 +31,11 @@ MAKE_ENV= PTHREAD_LDFLAGS="${PTHREAD_LDFLAGS}" \
PTHREAD_LDFLAGS+= -llstdc++ -llsupc++
.endif
+.if !exists(/usr/include/getopt.h)
+LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+PTHREAD_LDFLAGS+= -lgnugetopt
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sip/b2b/bin.nodebug.FreeBSD.i386/b2bua \
${PREFIX}/bin
OpenPOWER on IntegriCloud