diff options
author | sobomax <sobomax@FreeBSD.org> | 2003-01-27 02:06:46 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2003-01-27 02:06:46 +0800 |
commit | 983fc1aae84ae9a19ade0938b1745b0d604d61c3 (patch) | |
tree | 4c5ac8d75655f06da22a2cfce0cf19f67b81de27 /net | |
parent | 6ac301793569c1a1bddebf0b8314e55773754a5b (diff) | |
download | freebsd-ports-gnome-983fc1aae84ae9a19ade0938b1745b0d604d61c3.tar.gz freebsd-ports-gnome-983fc1aae84ae9a19ade0938b1745b0d604d61c3.tar.zst freebsd-ports-gnome-983fc1aae84ae9a19ade0938b1745b0d604d61c3.zip |
Fix build on systems without /usr/include/getopt.h (4.x).
Submitted by: kris
Diffstat (limited to 'net')
-rw-r--r-- | net/b2bua/Makefile | 5 |
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 |