aboutsummaryrefslogtreecommitdiff
path: root/net/opal
diff options
context:
space:
mode:
authorRoger Hardiman <roger@FreeBSD.org>2001-03-15 11:25:10 +0000
committerRoger Hardiman <roger@FreeBSD.org>2001-03-15 11:25:10 +0000
commita753ad4bf9636aeded79afb0541cdf8188e1ab67 (patch)
tree48f5d687c5d2b74b152e7a9afdcef6bfe19e7968 /net/opal
parent5cb7e627cf5cb4a823d36d16fe64b358ebab55a6 (diff)
downloadports-a753ad4bf9636aeded79afb0541cdf8188e1ab67.tar.gz
ports-a753ad4bf9636aeded79afb0541cdf8188e1ab67.zip
Notes
Diffstat (limited to 'net/opal')
-rw-r--r--net/opal/Makefile8
-rw-r--r--net/opal/pkg-descr8
2 files changed, 16 insertions, 0 deletions
diff --git a/net/opal/Makefile b/net/opal/Makefile
index e554e12d60ac..d63256ec0a30 100644
--- a/net/opal/Makefile
+++ b/net/opal/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/opal/pkg-descr b/net/opal/pkg-descr
index 6a835b6f0f33..ed8453ff507e 100644
--- a/net/opal/pkg-descr
+++ b/net/opal/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