diff options
author | roger <roger@FreeBSD.org> | 2001-03-15 19:25:10 +0800 |
---|---|---|
committer | roger <roger@FreeBSD.org> | 2001-03-15 19:25:10 +0800 |
commit | f04c180c32a0a95459abd24712740c038902cbdd (patch) | |
tree | abd747113dd5ecc5cab1e85b209b86ad42beaa9d /net/openh323 | |
parent | f0759490a095cfb2acc3199e2915fdba5e13ace4 (diff) | |
download | freebsd-ports-gnome-f04c180c32a0a95459abd24712740c038902cbdd.tar.gz freebsd-ports-gnome-f04c180c32a0a95459abd24712740c038902cbdd.tar.zst freebsd-ports-gnome-f04c180c32a0a95459abd24712740c038902cbdd.zip |
Add compiler option -DNO_XWINDOWS to build the port without
X support.
Requested by several people
Diffstat (limited to 'net/openh323')
-rw-r--r-- | net/openh323/Makefile | 8 | ||||
-rw-r--r-- | net/openh323/pkg-descr | 8 |
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 |