diff options
author | roger <roger@FreeBSD.org> | 2002-11-21 17:56:50 +0800 |
---|---|---|
committer | roger <roger@FreeBSD.org> | 2002-11-21 17:56:50 +0800 |
commit | 806d524742c4ed55599fb0527598fb0eb8e7e09a (patch) | |
tree | ff2d95f88ef6f840dddb3a0ee5e16bed2cd9a15c /net | |
parent | 678d314c24f6164bf3d011c6896e4f20d66df6f2 (diff) | |
download | freebsd-ports-gnome-806d524742c4ed55599fb0527598fb0eb8e7e09a.tar.gz freebsd-ports-gnome-806d524742c4ed55599fb0527598fb0eb8e7e09a.tar.zst freebsd-ports-gnome-806d524742c4ed55599fb0527598fb0eb8e7e09a.zip |
For fixes for 5.0 because the ixj driver does not compile on 5.0 systems
Submitted by: Kris
Diffstat (limited to 'net')
-rw-r--r-- | net/opal/Makefile | 2 | ||||
-rw-r--r-- | net/opal3/Makefile | 2 | ||||
-rw-r--r-- | net/openh323-112/Makefile | 2 | ||||
-rw-r--r-- | net/openh323/Makefile | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/net/opal/Makefile b/net/opal/Makefile index 97438c2b6b81..d34a2a9cdc18 100644 --- a/net/opal/Makefile +++ b/net/opal/Makefile @@ -44,6 +44,7 @@ THE_MACHTYPE= ${ARCH:S/i386/x86/} MAKE_ARGS= OSTYPE=${OPSYS} MACHTYPE=${THE_MACHTYPE} OSRELEASE=${OSVERSION} CPLUS=${CXX} post-patch: +.if ${OSVERSION} < 500000 .if !exists(/usr/include/sys/telephony.h) .if !exists(/usr/local/include/sys/telephony.h) # Copy ixj driver include files into OpenH323 include directory @@ -52,6 +53,7 @@ post-patch: ${CP} ${WRKDIRPREFIX}${.CURDIR}/../../comms/ixj/work/ixj_freebsd/ixjuser.h ${WRKDIR}/openh323/include/sys .endif .endif +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin diff --git a/net/opal3/Makefile b/net/opal3/Makefile index 97438c2b6b81..d34a2a9cdc18 100644 --- a/net/opal3/Makefile +++ b/net/opal3/Makefile @@ -44,6 +44,7 @@ THE_MACHTYPE= ${ARCH:S/i386/x86/} MAKE_ARGS= OSTYPE=${OPSYS} MACHTYPE=${THE_MACHTYPE} OSRELEASE=${OSVERSION} CPLUS=${CXX} post-patch: +.if ${OSVERSION} < 500000 .if !exists(/usr/include/sys/telephony.h) .if !exists(/usr/local/include/sys/telephony.h) # Copy ixj driver include files into OpenH323 include directory @@ -52,6 +53,7 @@ post-patch: ${CP} ${WRKDIRPREFIX}${.CURDIR}/../../comms/ixj/work/ixj_freebsd/ixjuser.h ${WRKDIR}/openh323/include/sys .endif .endif +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin diff --git a/net/openh323-112/Makefile b/net/openh323-112/Makefile index 97438c2b6b81..d34a2a9cdc18 100644 --- a/net/openh323-112/Makefile +++ b/net/openh323-112/Makefile @@ -44,6 +44,7 @@ THE_MACHTYPE= ${ARCH:S/i386/x86/} MAKE_ARGS= OSTYPE=${OPSYS} MACHTYPE=${THE_MACHTYPE} OSRELEASE=${OSVERSION} CPLUS=${CXX} post-patch: +.if ${OSVERSION} < 500000 .if !exists(/usr/include/sys/telephony.h) .if !exists(/usr/local/include/sys/telephony.h) # Copy ixj driver include files into OpenH323 include directory @@ -52,6 +53,7 @@ post-patch: ${CP} ${WRKDIRPREFIX}${.CURDIR}/../../comms/ixj/work/ixj_freebsd/ixjuser.h ${WRKDIR}/openh323/include/sys .endif .endif +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin diff --git a/net/openh323/Makefile b/net/openh323/Makefile index 97438c2b6b81..d34a2a9cdc18 100644 --- a/net/openh323/Makefile +++ b/net/openh323/Makefile @@ -44,6 +44,7 @@ THE_MACHTYPE= ${ARCH:S/i386/x86/} MAKE_ARGS= OSTYPE=${OPSYS} MACHTYPE=${THE_MACHTYPE} OSRELEASE=${OSVERSION} CPLUS=${CXX} post-patch: +.if ${OSVERSION} < 500000 .if !exists(/usr/include/sys/telephony.h) .if !exists(/usr/local/include/sys/telephony.h) # Copy ixj driver include files into OpenH323 include directory @@ -52,6 +53,7 @@ post-patch: ${CP} ${WRKDIRPREFIX}${.CURDIR}/../../comms/ixj/work/ixj_freebsd/ixjuser.h ${WRKDIR}/openh323/include/sys .endif .endif +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin |