aboutsummaryrefslogtreecommitdiff
path: root/net/b2bua
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-01-26 18:06:46 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-01-26 18:06:46 +0000
commit8f66818e0f1d5ff949c4aa16acb4c2f7f88e0288 (patch)
tree0913e7d0ab91de17be8a639aa50999a77ba2c011 /net/b2bua
parentaf9b77d5a3fca472732342fd7caf3f43ec6406a0 (diff)
downloadports-8f66818e0f1d5ff949c4aa16acb4c2f7f88e0288.tar.gz
ports-8f66818e0f1d5ff949c4aa16acb4c2f7f88e0288.zip
Notes
Diffstat (limited to 'net/b2bua')
-rw-r--r--net/b2bua/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/b2bua/Makefile b/net/b2bua/Makefile
index 82ab8ca783f7..15baa0fc552c 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