diff options
author | Roger Hardiman <roger@FreeBSD.org> | 2001-03-15 11:25:10 +0000 |
---|---|---|
committer | Roger Hardiman <roger@FreeBSD.org> | 2001-03-15 11:25:10 +0000 |
commit | a753ad4bf9636aeded79afb0541cdf8188e1ab67 (patch) | |
tree | 48f5d687c5d2b74b152e7a9afdcef6bfe19e7968 /net/openh323-112 | |
parent | Update to 0.38. (diff) |
Add compiler option -DNO_XWINDOWS to build the port without
X support.
Requested by several people
Notes
Notes:
svn path=/head/; revision=39878
Diffstat (limited to 'net/openh323-112')
-rw-r--r-- | net/openh323-112/Makefile | 8 | ||||
-rw-r--r-- | net/openh323-112/pkg-descr | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/net/openh323-112/Makefile b/net/openh323-112/Makefile index e554e12d60ac..d63256ec0a30 100644 --- a/net/openh323-112/Makefile +++ b/net/openh323-112/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-112/pkg-descr b/net/openh323-112/pkg-descr index 6a835b6f0f33..ed8453ff507e 100644 --- a/net/openh323-112/pkg-descr +++ b/net/openh323-112/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 |