aboutsummaryrefslogtreecommitdiffstats
path: root/net/openh323
diff options
context:
space:
mode:
Diffstat (limited to 'net/openh323')
-rw-r--r--net/openh323/Makefile8
-rw-r--r--net/openh323/pkg-descr8
2 files changed, 16 insertions, 0 deletions
diff --git a/net/openh323/Makefile b/net/openh323/Makefile
index e554e12d60ac..d63256ec0a30 100644
--- a/net/openh323/Makefile
+++ b/net/openh323/Makefile
@@ -20,13 +20,21 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_NEWGCC= yes
USE_BISON= yes
+
+# If the user compiles with make -DNO_XWINDOWS do not include X support
+.if !defined(NO_XWINDOWS)
USE_XLIB= yes
+.endif
+
USE_GMAKE= yes
ALL_TARGET= opt
MAKE_ENV= PWLIBDIR=${WRKDIR}/pwlib \
OPENH323DIR=${WRKDIR}/openh323
THE_MACHTYPE= ${ARCH:S/i386/x86/}
MAKE_ARGS= OSTYPE=${OPSYS} MACHTYPE=${THE_MACHTYPE} OSRELEASE=${OSVERSION} CPLUS=${CXX}
+.if defined(NO_XWINDOWS)
+MAKE_ARGS+= NO_XWINDOWS=1
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin
diff --git a/net/openh323/pkg-descr b/net/openh323/pkg-descr
index 6a835b6f0f33..ed8453ff507e 100644
--- a/net/openh323/pkg-descr
+++ b/net/openh323/pkg-descr
@@ -15,4 +15,12 @@ PWLib is a multi-platform code library that can be used to write
applications that will compile and run on the BSD Unixes, Windows, Linux
and a few other Unix variants. It was developed by Equivalence Ltd Pty.
+By default, the OpenH323 library contains code to display video images
+using X Windows. This is not needed in certain applications such
+as gatekeepers, gateways or the OpenAM application.
+You can compile the port with
+ make -DNO_XWINDOWS
+to build the port without X Windows support.
+
+
WWW: http://www.openh323.org