diff options
-rw-r--r-- | net/opal/Makefile | 6 | ||||
-rw-r--r-- | net/opal3/Makefile | 6 | ||||
-rw-r--r-- | net/openh323-112/Makefile | 6 | ||||
-rw-r--r-- | net/openh323/Makefile | 6 |
4 files changed, 20 insertions, 4 deletions
diff --git a/net/opal/Makefile b/net/opal/Makefile index 2e8b387..97438c2 100644 --- a/net/opal/Makefile +++ b/net/opal/Makefile @@ -19,6 +19,9 @@ MAINTAINER= roger@freebsd.org LIB_DEPENDS= speex.0:${PORTSDIR}/audio/speex \ expat.4:${PORTSDIR}/textproc/expat2 + +.include <bsd.port.pre.mk> +.if ${OSVERSION} < 500000 # Check for telephony.h in the two places the source is hard coded to check # /usr/include/sys and /usr/local/include/sys # If it is not present, extract it from the comms/ixj port @@ -27,6 +30,7 @@ LIB_DEPENDS= speex.0:${PORTSDIR}/audio/speex \ BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/comms/ixj:patch .endif .endif +.endif WRKSRC= ${WRKDIR}/${PORTNAME} @@ -52,4 +56,4 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/opal3/Makefile b/net/opal3/Makefile index 2e8b387..97438c2 100644 --- a/net/opal3/Makefile +++ b/net/opal3/Makefile @@ -19,6 +19,9 @@ MAINTAINER= roger@freebsd.org LIB_DEPENDS= speex.0:${PORTSDIR}/audio/speex \ expat.4:${PORTSDIR}/textproc/expat2 + +.include <bsd.port.pre.mk> +.if ${OSVERSION} < 500000 # Check for telephony.h in the two places the source is hard coded to check # /usr/include/sys and /usr/local/include/sys # If it is not present, extract it from the comms/ixj port @@ -27,6 +30,7 @@ LIB_DEPENDS= speex.0:${PORTSDIR}/audio/speex \ BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/comms/ixj:patch .endif .endif +.endif WRKSRC= ${WRKDIR}/${PORTNAME} @@ -52,4 +56,4 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/openh323-112/Makefile b/net/openh323-112/Makefile index 2e8b387..97438c2 100644 --- a/net/openh323-112/Makefile +++ b/net/openh323-112/Makefile @@ -19,6 +19,9 @@ MAINTAINER= roger@freebsd.org LIB_DEPENDS= speex.0:${PORTSDIR}/audio/speex \ expat.4:${PORTSDIR}/textproc/expat2 + +.include <bsd.port.pre.mk> +.if ${OSVERSION} < 500000 # Check for telephony.h in the two places the source is hard coded to check # /usr/include/sys and /usr/local/include/sys # If it is not present, extract it from the comms/ixj port @@ -27,6 +30,7 @@ LIB_DEPENDS= speex.0:${PORTSDIR}/audio/speex \ BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/comms/ixj:patch .endif .endif +.endif WRKSRC= ${WRKDIR}/${PORTNAME} @@ -52,4 +56,4 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/openh323/Makefile b/net/openh323/Makefile index 2e8b387..97438c2 100644 --- a/net/openh323/Makefile +++ b/net/openh323/Makefile @@ -19,6 +19,9 @@ MAINTAINER= roger@freebsd.org LIB_DEPENDS= speex.0:${PORTSDIR}/audio/speex \ expat.4:${PORTSDIR}/textproc/expat2 + +.include <bsd.port.pre.mk> +.if ${OSVERSION} < 500000 # Check for telephony.h in the two places the source is hard coded to check # /usr/include/sys and /usr/local/include/sys # If it is not present, extract it from the comms/ixj port @@ -27,6 +30,7 @@ LIB_DEPENDS= speex.0:${PORTSDIR}/audio/speex \ BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/comms/ixj:patch .endif .endif +.endif WRKSRC= ${WRKDIR}/${PORTNAME} @@ -52,4 +56,4 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin -.include <bsd.port.mk> +.include <bsd.port.post.mk> |